I mean this:
Usually it is use on https / port 443 block.
I just switch back from HTTPS to HTTP only last month.
Now I want to clear up all browser cache for old visitors and always use HTTP only.
Code:
# config to enable HSTS(HTTP Strict Transport Security) https://developer.mozilla.org/en-US/docs/Security/HTTP_Strict_Transport_Security
# to avoid ssl stripping https://en.wikipedia.org/wiki/SSL_stripping#SSL_stripping
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
Usually it is use on https / port 443 block.
I just switch back from HTTPS to HTTP only last month.
Now I want to clear up all browser cache for old visitors and always use HTTP only.