소스 검색

caddy2: removed unknown tls directive

pull/664/head
Panagiotis Vasilopoulos 5 년 전
committed by GitHub
부모
커밋
8370ee0647
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 11개의 파일을 삭제
  1. +2
    -11
      examples/caddy2/Caddyfile

+ 2
- 11
examples/caddy2/Caddyfile 파일 보기

@@ -1,7 +1,4 @@
matrix.DOMAIN.tld {

tls {$CADDY_TLS}

@identity {
path /_matrix/identity/*
}
@@ -97,10 +94,7 @@ matrix.DOMAIN.tld:8448 {
}

dimension.DOMAIN.tld {

tls {$CADDY_TLS}

header {
header {
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
# Enable cross-site filter (XSS) and tell browser to block detected attacks
@@ -127,9 +121,6 @@ dimension.DOMAIN.tld {
}

element.DOMAIN.tld {

tls {$CADDY_TLS}

header {
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
@@ -153,4 +144,4 @@ element.DOMAIN.tld {
header_up X-Forwarded-TlsCipher {tls_cipher}
header_up X-Forwarded-HttpsProto {proto}
}
}
}

불러오는 중...
취소
저장