On 06/05/17T16:01:17 +0300, ST wrote:
> If I clear cache it works sometimes...

> On Mon, 2017-06-05 at 13:48 +0100, Miguel C wrote:
> > 
> > $ curl -I http://127.0.0.1:8080
> > 
> > 
> > HTTP/1.1 301 Moved Permanently

Browsers may choose to aggresively cache 301 Moved Permanently responses.
302 Found is strongly preferred for testing. You may want to choose to stick
with 302 for production use as well.

Your browsers may have cached 301 already.

https://stackoverflow.com/a/21396547
http://getluky.net/2010/12/14/301-redirects-cannot-be-undon/

Best regards,
BlessJah
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to