2021
07-22
07-22
完美解决浏览器输入http被自动跳转至https问题
在将服务尝试着从http协议往https协议迁移成功之后,又出于测试调试的目的将服务转回到http协议,却发现在浏览器输入http会被自动跳转到https。HTTPStrictTransportSecurity(HSTS)isanopt-insecurityenhancementthatisspecifiedbyawebapplicationthroughtheuseofaspecialresponseheader.Onceasupportedbrowserreceivesthisheaderthatbrowserwillpreventanycommunicationsfrombeingsentov...
继续阅读 >