Do not includeSubDomains for id.fp.o STS
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
cabbfe3015
commit
e1bb4e64a4
3 changed files with 4 additions and 1 deletions
|
@ -661,6 +661,7 @@
|
||||||
sslonly: true
|
sslonly: true
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
SSLCertificateChainFile: wildcard-2017.id.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.id.fedoraproject.org.intermediate.cert
|
||||||
|
stssubdomains: false
|
||||||
tags:
|
tags:
|
||||||
- id.fedoraproject.org
|
- id.fedoraproject.org
|
||||||
|
|
||||||
|
@ -670,6 +671,7 @@
|
||||||
- "*.id.fedoraproject.org"
|
- "*.id.fedoraproject.org"
|
||||||
# Must not be sslonly, because example.id.fedoraproject.org must be reachable
|
# Must not be sslonly, because example.id.fedoraproject.org must be reachable
|
||||||
# via plain http for openid identity support
|
# via plain http for openid identity support
|
||||||
|
sslonly: false
|
||||||
cert_name: wildcard-2017.id.fedoraproject.org
|
cert_name: wildcard-2017.id.fedoraproject.org
|
||||||
SSLCertificateChainFile: wildcard-2017.id.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.id.fedoraproject.org.intermediate.cert
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -9,3 +9,4 @@ ssl: true
|
||||||
sslonly: false
|
sslonly: false
|
||||||
SSLCertificateChainFile: wildcard-2017.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.fedoraproject.org.intermediate.cert
|
||||||
gzip: false
|
gzip: false
|
||||||
|
stssubdomains: true
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
SSLCipherSuite {{ ssl_ciphers }}
|
SSLCipherSuite {{ ssl_ciphers }}
|
||||||
|
|
||||||
{% if sslonly %}
|
{% if sslonly %}
|
||||||
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
Header always add Strict-Transport-Security "max-age=15768000; {% if stssubdomains %}includeSubDomains; {% endif %}preload"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Include "conf.d/{{ name }}/*.conf"
|
Include "conf.d/{{ name }}/*.conf"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue