Redirect http:8080 to https:8443

blessjah at jacekowski.org blessjah at jacekowski.org
Mon Jun 5 13:16:50 UTC 2017


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


More information about the nginx mailing list