Welcome! Log In Create A New Profile

Advanced

Re: Double Redirect

Edho Arief
June 25, 2016 01:52AM
Hi,

On Sat, Jun 25, 2016, at 14:42, Lebod wrote:
> Thank you for the reply Francis,
>
> I have only 1 server {} with "example.com".
>
> I have one server block that listens on ports 80 and 443 to example.com
> and
> redirects to https://www.example.com like this:
>
> server {
> listen 80;
> listen 443 ssl;
> server_name example.com ***IP Address***;
> return 301 https://www.example.com$request_uri;
> }
>
> Is that not correct?
>


Looking at your previous posts indicated there are more server blocks
than the ones you posted. Posting output of nginx -T may help.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 212
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