That seems to be just the ticket -- thankyou very much!by biot023 - Nginx Mailing List - English
Ah, will do, cheers -- I had a look through the NGINX variables, but it wasn't really clear which variable did what. I suppose something like: location / { return 301 https://$uri; } Wouldn't work?by biot023 - Nginx Mailing List - English
Hi -- we currently have a redirect rule in a location on our server to redirect all non-SSL traffic to SSL, like so: location / { return 301 https://$server_name$request_uri; } This works for almost all cases, but there is an edge case that is broken by this. We have a custom subdomain functionality that our users use to give them more personalised-looking URLs, so they can use <userby biot023 - Nginx Mailing List - English