franksin
V2EX  ›  问与答

https 自动跳转的问题

  •  
  •   franksin · Oct 14, 2014 · 3666 views
    This topic created in 4265 days ago, the information mentioned may be changed or developed.
    原来搞了个https,输入http://www.xxx.com,使用JS跳到https....

    现在不想用了,结果浏览器还是会自动跳到https... 发现是有一个307的跳转,怎么处理掉呢?
    3 replies    2014-11-15 20:11:03 +08:00
    clino
        1
    clino  
       Oct 14, 2014 via Android   ❤️ 1
    清缓存
    franksin
        2
    franksin  
    OP
       Oct 15, 2014
    @clino 哪里的缓存? 什么的缓存 ?
    浏览器缓存已经清了,无效。
    xoxo
        3
    xoxo  
       Nov 15, 2014
    nginx response header是否输出了:
    Strict-Transport-Security:max-age=31536000; includeSubDomains
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2421 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.