Anyone else here go to SSL then switch back?
# HTTPS server
#
server {
listen 443 ssl;
server_name example.com;
return 301 http://example.com$request_uri;
ssl on;
ssl_certificate /etc/ssl/example.crt;
ssl_certificate_key /etc/ssl/private/example.key;
ssl_session_timeout 5m;
ssl_session_cache shared:SSL:1m;
ssl_ciphers HIGH:!aNULL:!MD5:!RC4;
ssl_prefer_server_ciphers on;
}
Me why?Anyone else here go to SSL then switch back?
If you had STS active, make sure you deal with that before removing SSLAnyone else here go to SSL then switch back?
I guess that would be important if one actually had revenue coming in on it.I personally removed SSL due to the hit in my adsense revenue.
I would suggest more, at least as long as the STS timeout is for.if you are using STS, make sure you set that to 0 a few days prior to the switch back
No Need.at least as long as the STS timeout is for.
add_header Strict-Transport-Security "max-age=0; includeSubdomains;";
But if a user/visitor hasn't come to your site since the previous max-age and you drop https, then their browser will fail to connect to http and that user will either have to research how to remove the site STS restriction from their browser or wait until the timeout before they can connect to your site again.No Need.
For Nginx:
But if a user/visitor hasn't come to your site since the previous max-age and you drop https, then their browser will fail to connect to http and that user will either have to research how to remove the site STS restriction from their browser or wait until the timeout before they can connect to your site again.
Already deactivate HSTS value = disabled.max-age=0
Nevermind, you're not seeing the workflow and problem.Already deactivate HSTS value = disabled.
RFC 6797 - HTTP Strict Transport Security (HSTS)
Unless there is a very good reason for that, this is pure Google abuse.
A lot of people set this to 365 days :-sI would suggest more, at least as long as the STS timeout is for.
Yes, so if you have HTTPS active with STS of 365 days and then decided to remove HTTPS and just have HTTP, then you should ensure that you keep HTTPS active, with an STS max-age of zero, and redirecting to HTTP for up to 365 days. Otherwise, if you stop HTTPS after, say, 30 days then any browser/user that last visted your site 30+ days ago will not have picked-up the new STS setting and will refuse to connect to your HTTP site.A lot of people set this to 365 days :-s
There are more ads available for regular http connections and https slows down the site a little.Why would you?
There are more ads available for regular http connections and https slows down the site a little.
--
We use essential cookies to make this site work, and optional cookies to enhance your experience.