On Wed, Nov 19, 2014 at 11:22 PM, biot023 <[email protected]> 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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to