Bouncing to Default Server Block
bee.lists at gmail.com
Fri Sep 28 15:48:45 UTC 2018
I often clear the cache and restart nginx.
> On Sep 28, 2018, at 11:19 AM, Reinis Rozitis <r at roze.lv> wrote:
> 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
More information about the nginx