How to check if your website has Enforcing HTTP Strict Transport Security

2024-02-01·
Chi Yau
Chi Yau
· 1 min read

解法方法:
可以用 CURL 來看看你的 Server / website 有無 Strict-Transport-Security: 這個 header

curl -s -D- https://sharechiwai.com | grep -i strict-transport-security:

e.g.

Check strick-transport-security header
check hsts

Hope you find it useful