Set HSTS on id.fp.o manually to disable subdomains

This commit is contained in:
Patrick Uiterwijk 2015-02-20 21:32:18 +00:00
parent fce6d6f115
commit 62c73923f3

View file

@ -26,6 +26,8 @@ RewriteRule ^([a-z0-9-]+)\.id\.fedoraproject\.org/.* {{proxyurl}}/openid/id/$1/
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
Header always add Strict-Transport-Security "max-age=15768000; preload"
RewriteRule ^(.+) - [PT]