Welcome! Log In Create A New Profile

Advanced

Re: Weird problem with redirects

Francis Daly
July 16, 2016 03:48AM
On Fri, Jul 15, 2016 at 10:58:07PM +0100, Hamza Aboulfeth wrote:

Hi there,

> I have a weird problem that suddenly appeared on a client's website
> yesterday. We have a redirection from non www to www and sometimes
> the redirection sends somewhere else:
>
> [root@genious33 nginx-1.11.2]# curl -IL -H "host: hespress.com" x.x.x.x

If that x.x.x.x is enough to make sure that this request gets to your
nginx, then your nginx config is probably involved.

If this only started yesterday, then changes since yesterday (or since
your nginx was last restarted before yesterday) are probably most
interesting.

And as a very long shot: if you can "tcpdump" to see that nginx is sending
one thing, but the client is receiving something else, then you'll want
to look outside nginx at something else interfering with the traffic.

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

Weird problem with redirects

Hamza Aboulfeth July 15, 2016 06:00PM

Re: Weird problem with redirects

Francis Daly July 16, 2016 03:48AM

Re: Weird problem with redirects

Hamza Aboulfeth August 13, 2016 01:38PM

Re: Weird problem with redirects

Andrei August 21, 2016 07:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready