|
|
@ -101,7 +101,7 @@ element.DOMAIN.tld {
|
|
|
|
|
|
|
|
|
|
|
|
# creates letsencrypt certificate
|
|
|
|
# creates letsencrypt certificate
|
|
|
|
# tls your@email.com
|
|
|
|
# tls your@email.com
|
|
|
|
|
|
|
|
|
|
|
|
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"
|
|
|
@ -128,10 +128,10 @@ element.DOMAIN.tld {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#dimension.DOMAIN.tld {
|
|
|
|
#dimension.DOMAIN.tld {
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# # creates letsencrypt certificate
|
|
|
|
# # creates letsencrypt certificate
|
|
|
|
# # tls your@email.com
|
|
|
|
# # tls your@email.com
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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"
|
|
|
@ -160,7 +160,7 @@ element.DOMAIN.tld {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#jitsi.DOMAIN.tld {
|
|
|
|
#jitsi.DOMAIN.tld {
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# creates letsencrypt certificate
|
|
|
|
# creates letsencrypt certificate
|
|
|
|
# tls your@email.com
|
|
|
|
# tls your@email.com
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -193,7 +193,7 @@ element.DOMAIN.tld {
|
|
|
|
# handle {
|
|
|
|
# handle {
|
|
|
|
# encode zstd gzip
|
|
|
|
# encode zstd gzip
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# reverse_proxy 127.0.0.1:12080 {
|
|
|
|
# reverse_proxy 127.0.0.1:13080 {
|
|
|
|
# header_up X-Forwarded-Port {http.request.port}
|
|
|
|
# header_up X-Forwarded-Port {http.request.port}
|
|
|
|
# header_up X-Forwarded-Proto {http.request.scheme}
|
|
|
|
# header_up X-Forwarded-Proto {http.request.scheme}
|
|
|
|
# header_up X-Forwarded-TlsProto {tls_protocol}
|
|
|
|
# header_up X-Forwarded-TlsProto {tls_protocol}
|
|
|
@ -201,4 +201,4 @@ element.DOMAIN.tld {
|
|
|
|
# header_up X-Forwarded-HttpsProto {proto}
|
|
|
|
# header_up X-Forwarded-HttpsProto {proto}
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
#}
|
|
|
|
#}
|
|
|
|