Welcome! Log In Create A New Profile

Advanced

Re: SSL location keep redirecting to non-SSL

Ian Evans
September 03, 2011 06:26AM
On 03/09/2011 6:14 AM, Stefan Caunter wrote:
>
> This looks odd to me, I've never seen a rewrite in an ssl config. It
> will complicate things.
>
> Leave the index to the server config, and take out the location / rewrite.
>
> Simplify.
Stefan,

The only reason I had the rewrite in there (and I think it was
recommended to me years ago) was to prevent people or bots from calling
the non-ssl directories of the site with https and creating duplicates
in Google, etc. e.g. calling http://www.example.com/ and
https://www.example.com/ when my homepage doesn't need https.

I only needs https calls on my phpMyAdmin, webmail, facebookapp and site
admin subdirectories. I just wrote another email in the thread asking if
I should only do a rewrite if it's NOT those directories.

_______________________________________________
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: 172
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