Merge pull request #664 from panos/master

caddy2: removed unknown tls directive
development
Slavi Pantaleev 4 years ago committed by GitHub
commit 14c23c52bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,4 @@
matrix.DOMAIN.tld { matrix.DOMAIN.tld {
tls {$CADDY_TLS}
@identity { @identity {
path /_matrix/identity/* path /_matrix/identity/*
} }
@ -97,9 +94,6 @@ matrix.DOMAIN.tld:8448 {
} }
dimension.DOMAIN.tld { dimension.DOMAIN.tld {
tls {$CADDY_TLS}
header { header {
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS # Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
@ -127,9 +121,6 @@ dimension.DOMAIN.tld {
} }
element.DOMAIN.tld { element.DOMAIN.tld {
tls {$CADDY_TLS}
header { header {
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS # Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"

Loading…
Cancel
Save