ALL links on my webpages turns to HTTPS !
Posted: Mon Feb 01, 2016 1:12 pm
This is a very annoying problem that going to drive me crazy!
About two weeks ago, I enabled HTTPS for my website, at that time, only links started with my domain use HTTPS. Other links, such as outgoing links on webpages or forum posts, uses http as how they were input.
Several days ago, I read an article about "get A+ rating in SSL test", it mentioned something about HSTS.
Then I edited my snginx.conf in VestaCP and added some code to force HSTS with a big max-age value.
Then I noticed that ALL links on my webpages turned to use HTTPS. Even those links I had input as http://blablabla in forum posts, even inside CODE bbcode, were then converted to HTTPS links after submitted.
I feel very sad, since most website of those outgoing links DO NOT use https, so that those converted links will result in error instead of opening that page.
I hate such a stupid conversion. so I dicided to disable HSTS. I deleted that code about HSTS in snginx.conf and restarted nginx.
But now, my Chrome browser still uses https for EVERY link on my webpages.
What is wrong? Did I missed something?
How to fix this?
Thank you!
About two weeks ago, I enabled HTTPS for my website, at that time, only links started with my domain use HTTPS. Other links, such as outgoing links on webpages or forum posts, uses http as how they were input.
Several days ago, I read an article about "get A+ rating in SSL test", it mentioned something about HSTS.
Then I edited my snginx.conf in VestaCP and added some code to force HSTS with a big max-age value.
Then I noticed that ALL links on my webpages turned to use HTTPS. Even those links I had input as http://blablabla in forum posts, even inside CODE bbcode, were then converted to HTTPS links after submitted.
I feel very sad, since most website of those outgoing links DO NOT use https, so that those converted links will result in error instead of opening that page.
I hate such a stupid conversion. so I dicided to disable HSTS. I deleted that code about HSTS in snginx.conf and restarted nginx.
But now, my Chrome browser still uses https for EVERY link on my webpages.
What is wrong? Did I missed something?
How to fix this?
Thank you!