Little knowledge - visit http, prevent the browser from automatically jumping to https

NginxIf redirection (mandatory HTTPS) is configured on the server side, it has nothing to do with the local browser, and it is still accessed in the end https.

Chrome browser

  1. Type in the address barchrome://net-internals/#hsts
  2. Delete domain security policiesEnter the domain name of the project in , and Deletedelete

insert image description here

  1. You can Query domaintest

insert image description here

[Note] If it still doesn't work here, please clear the browser cache!

Edge browser (Chrome core)

In fact, it is the Chromesame as , bothedge: can be used; but some configurations are specific to , and must be used .chrome:Edgeedge:

  1. Type in the address baredge://net-internals/#hsts
  2. Delete domain security policiesEnter the domain name of the project in , and Deletedelete

insert image description here

  1. You can Query domaintest

insert image description here

[Note] If it still doesn't work here, please clear the browser cache!

Safari browser

  1. Close Safari completely
  2. delete ~/Library/Cookies/HSTS.plistthis file
  3. Just reopen Safari
  4. In rare cases, a system restart is required

Opera browser (Chrome core)

Same as Chrome method

[Note] If it still doesn't work here, please clear the browser cache!

Firefox browser

  1. close all open pages
  2. Clear history and cache
  3. Address bar inputabout:permissions
  4. Search for the project domain name, and clickForget About This Site

[Note] If it still doesn't work here, please clear the browser cache!

Personal blog: Roc's Blog

Guess you like

Origin blog.csdn.net/peng2hui1314/article/details/127261517