I often clear the cache and restart nginx. 

> On Sep 28, 2018, at 11:19 AM, Reinis Rozitis <[email protected]> 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
> 
> rr 



Cheers, Bee




_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to