Welcome! Log In Create A New Profile

Advanced

Re: SSL location keep redirecting to non-SSL

Ian Evans
September 03, 2011 06:20AM
On 03/09/2011 5:23 AM, Calin Don wrote:
> Also your rewrite rule rewrite ^(.+) http://www.example.com
> http://www.example.com/$1 permanent; sould be rewritten into rewrite ^
> http://www.example.com http://www.example.com/$request_uri? permanent;

Just wondering...instead of a blanket redirect and then location that
try to overide it, would it be better to have a rewrite that says "if
not subdir1|subdir2|myfacebookapp rewrite to http". Then locations for
those subdirs if they require passwords, etc.

How would I do the if not subdir1|subdir2|myfacebookapp rewrite to http
check?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSL location keep redirecting to non-SSL

Ian Evans September 02, 2011 08:52PM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 04:18AM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 05:22AM

Re: SSL location keep redirecting to non-SSL

Calin Don September 03, 2011 05:26AM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 05:36AM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 06:20AM

Re: SSL location keep redirecting to non-SSL

stefancaunter September 03, 2011 06:16AM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 06:26AM

Re: SSL location keep redirecting to non-SSL

Ian Evans September 03, 2011 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready