On Wed, Nov 19, 2014 at 11:22 PM, biot023 <nginx-forum@nginx.us> wrote:
> 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?
>
generic redirect looks like this
return 301 https://$host$request_uri;
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx