This commit is contained in:
23
Caddyfile
23
Caddyfile
@@ -102,4 +102,27 @@ gitea.lucasroyer.fr {
|
||||
reverse_proxy gitea-app:3000 {
|
||||
flush_interval -1
|
||||
}
|
||||
}
|
||||
|
||||
kuma.lucasroyer.fr {
|
||||
# Security
|
||||
header {
|
||||
X-Frame-Options "SAMEORIGIN"
|
||||
X-XSS-Protection "1; mode=block"
|
||||
X-Content-Type-Options "nosniff"
|
||||
Referrer-Policy "strict-origin-when-cross-origin"
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
}
|
||||
|
||||
# Compression
|
||||
encode zstd gzip
|
||||
|
||||
# Log
|
||||
log {
|
||||
output file /data/kuma_access.log
|
||||
}
|
||||
|
||||
# Redirect
|
||||
reverse_proxy uptime-kuma:3001 {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user