PDA

View Full Version : Mezzmo and HTTPS



Domquark
08-02-2018, 03:47 AM
I have followed the How-To to implement HTTPS access using Nginx, and all works fine.

But how do I stop the system from responding to HTTP, so all logins are HTTPS only?

Thanks in advance!

Peter
08-02-2018, 09:33 AM
You can add a redirect in nginx so that requests to /web/ are redirected to https, in the section for port 80 add:

location /web {
rewrite ^ https://$host$request_uri? permanent;
}