How to disable HTTP Strict Transport Security?

前端 未结 5 1009
感动是毒
感动是毒 2020-12-04 16:53

I had a Rails application with config.force_ssl = true, but now I dont want SSL encryption, but my app is still redirecting to https. I read this is a HTTP Stri

5条回答
  •  感情败类
    2020-12-04 17:27

    I found I couldn't delete an HSTS entry in Chrome as I was using an IP address for development. I couldn't seem to get chrome://net-internals/#hsts to delete the entry. I found that Chrome stores the entries in ../AppData/local/Google/Chrome/User Data/Default/TransportSecurity so I just deleted the file. It of course removes all HSTS requests, but I suspect they will be rebuilt over time.

提交回复
热议问题