Welcome! Log In Create A New Profile

Advanced

RE: Bouncing to Default Server Block

Reinis Rozitis
September 28, 2018 11:22AM
> First domain redirects port 80 to ssl 443.
> Second domain is just port 80.
> Third domain is just port 80.
>
> Second domain isn’t showing up, pointing to first domain. Third domain is
> working. Why would this happen?

If you are testing just with a browser make sure you've cleaned the cache (or disable it, or use some other tools which don't have cache (like wget for example)).

If by chance you opened the http://domain2 before it was added to the nginx configuration (or before nginx got reloaded) your browser cached the domain1 301 redirect and isn't actually doing a real request to the webserver anymore

rr

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

Bouncing to Default Server Block

daBee September 28, 2018 08:44AM

RE: Bouncing to Default Server Block

Reinis Rozitis September 28, 2018 11:22AM

Re: Bouncing to Default Server Block

daBee September 28, 2018 11:50AM

Re: Bouncing to Default Server Block

daBee September 28, 2018 12:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
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