Add hsts also to https virthost
This commit is contained in:
parent
41df45256c
commit
6e5df77ce7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,6 @@ NameVirtualHost *:443
|
|||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
|
||||
# Set HSTS header via HTTP since it cannot be easily set in squid, which terminates HTTPS
|
||||
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
||||
</VirtualHost>
|
||||
|
||||
|
@ -63,6 +62,7 @@ NameVirtualHost *:443
|
|||
ProxyPassReverse / http://localhost:11371/
|
||||
SetEnv proxy-nokeepalive 1
|
||||
ProxyVia Full
|
||||
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
ServerAdmin sysadmin-keys-members@fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue