migliorato security e config di caddy
This commit is contained in:
@@ -17,11 +17,20 @@
|
|||||||
|
|
||||||
level INFO
|
level INFO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ocsp_stapling off
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
(common) {
|
(common) {
|
||||||
header /* {
|
header /* {
|
||||||
-Server
|
-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
|
# COLLABORA
|
||||||
|
|
||||||
#https://code.novemila.org {
|
#https://code.novemila.org {
|
||||||
# encode gzip
|
# encode gzip
|
||||||
# reverse_proxy localhost:3005 {
|
# reverse_proxy localhost:3005 {
|
||||||
# transport http {
|
# transport http {
|
||||||
# tls_insecure_skip_verify
|
# tls_insecure_skip_verify
|
||||||
@@ -103,6 +112,7 @@ https://mon.novemila.org {
|
|||||||
|
|
||||||
https://admin.cloud.novemila.org {
|
https://admin.cloud.novemila.org {
|
||||||
import common
|
import common
|
||||||
|
encode gzip zstd
|
||||||
reverse_proxy localhost:3010 {
|
reverse_proxy localhost:3010 {
|
||||||
transport http {
|
transport http {
|
||||||
tls_insecure_skip_verify
|
tls_insecure_skip_verify
|
||||||
|
|||||||
Reference in New Issue
Block a user