How do I set up Nginx conf file to force SSL on only one of the paths in my site and non-SSL on all the rest?
For example, I want all of the URLs under /user to be https but all the rest of the URLs to be http.
For the first part I have:
rewrite ^/user(.*) https://$http_host$request_uri?;
I don't want to use "if". I assume it would take advantage of order of operation but I don't want to end up in a loop.