2025年8月5日 星期二

Apache2 設定 HTTP 嚴格傳輸安全 (HSTS)

a2enmod headers

編輯 /etc/apache2/apache2.conf  加入

Header always set Strict-Transport-Security "max-age=31536000;


沒有留言: