Welcome! Log In Create A New Profile

Advanced

Re: Double Redirect

June 20, 2016 05:51PM
Lebod Wrote:
-------------------------------------------------------
> Thank you for the reply;
>
> If we did this:
>
> server {
> listen 80;
> -listen 443 ssl;
> server_name example.com ***IP Address***;
> return 301 https://www.example.com$request_uri;
> }
>
> Wouldn't this stop https://example.com from re-directing to
> https://www.example.com then ?

What do you think this does?: return 301 https://www.example.com$request_uri;

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Double Redirect

Lebod June 19, 2016 05:12PM

Re: Double Redirect

itpp2012 June 19, 2016 05:16PM

Re: Double Redirect

Lebod June 20, 2016 05:05PM

Re: Double Redirect

itpp2012 June 20, 2016 05:51PM

Re: Double Redirect

Lebod June 20, 2016 05:59PM

Re: Double Redirect

itpp2012 June 20, 2016 06:24PM

Re: Double Redirect

Francis Daly June 19, 2016 07:16PM

Re: Double Redirect

Lebod June 24, 2016 12:45AM

Re: Double Redirect

Francis Daly June 24, 2016 08:32PM

Re: Double Redirect

Lebod June 25, 2016 01:42AM

Re: Double Redirect

Edho Arief June 25, 2016 01:52AM

Re: Double Redirect

Lebod June 25, 2016 05:09PM

Re: Double Redirect

Edho Arief June 25, 2016 10:50PM

Re: Double Redirect

Lebod June 26, 2016 12:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready