PDA

View Full Version : https for web access and active directory / ldap integration



itman
04-12-2017, 10:20 PM
As titled, https for the web Access would be awesome!

Also, Active Directory or LDAP Integration would make life much easier in a Domain Environment.

Cheers,

ITMAN

Peter
04-13-2017, 09:35 AM
We have plans to add https support but no estimate on when it will be started or completed. Possibly you could use nginx to create a reverse proxy and connect to the proxy using https then forward the request to Mezzmo server as http?

We will look into adding LDAP support in a future update.

Peter
04-13-2017, 09:38 AM
We will probably need to add support to the Mezzmo server to handle the extra headers so that the URLs returned use the proxy instead of the local address.

An example config file for nginx would be:

upstream mezzmoserver{
server xxx.xxx.xxx.xxx:53168; #Mezzmo media server
}

server
{
listen 443 ssl;
server_name media.mydomain;

ssl_certificate ssl/server.crt;
ssl_certificate_key ssl/server.key;

# Logging
access_log logs/media.access.log main;
error_log logs/media.error.log;

location /
{
proxy_pass http://mezzmoserver/web;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;

proxy_set_header X-Forwarded-Proto $scheme;
add_header Front-End-Https on;

# By default we dont want redirect it
proxy_redirect off;

# Cache
proxy_buffering off;
proxy_cache off;
}



}

Peter
04-13-2017, 03:31 PM
We have made some changes to get https with nginx as a proxy to work, see http://forum.conceiva.com/showthread.php/9152-Mezzmo-5-1-2-0-Beta-testing for more information.