migliorato security e config di caddy
This commit is contained in:
@@ -17,11 +17,20 @@
|
||||
|
||||
level INFO
|
||||
}
|
||||
|
||||
ocsp_stapling off
|
||||
|
||||
}
|
||||
|
||||
(common) {
|
||||
header /* {
|
||||
-Server
|
||||
#Enable HSTS
|
||||
Strict-Transport-Security max-age=31536000;
|
||||
#Disable Clients from Sniffing Media Type
|
||||
X-Content-Type-Options nosniff
|
||||
#Keep Referrer Data off of HTTP Connections
|
||||
Referrer-Policy no-referrer-when-downgrade
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +84,7 @@ https://rss.novemila.org {
|
||||
# COLLABORA
|
||||
|
||||
#https://code.novemila.org {
|
||||
# encode gzip
|
||||
# encode gzip
|
||||
# reverse_proxy localhost:3005 {
|
||||
# transport http {
|
||||
# tls_insecure_skip_verify
|
||||
@@ -103,6 +112,7 @@ https://mon.novemila.org {
|
||||
|
||||
https://admin.cloud.novemila.org {
|
||||
import common
|
||||
encode gzip zstd
|
||||
reverse_proxy localhost:3010 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
|
||||
Reference in New Issue
Block a user