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!
Printable View
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!
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;
}