fix(caddyfile): fix uptime kuma support for new dual installation
All checks were successful
jenkins-ci Build successful
All checks were successful
jenkins-ci Build successful
This commit is contained in:
27
Caddyfile
27
Caddyfile
@@ -119,11 +119,34 @@ kuma.lucasroyer.fr {
|
|||||||
|
|
||||||
# Log
|
# Log
|
||||||
log {
|
log {
|
||||||
output file /data/kuma_access.log
|
output file /data/uptime-kuma-lucas_access.log
|
||||||
}
|
}
|
||||||
|
|
||||||
# Redirect
|
# Redirect
|
||||||
reverse_proxy uptime-kuma:3001 {
|
reverse_proxy uptime-kuma-lucas:3001 {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
uptime-cyrus.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/uptime-kuma-cyrus_access.log
|
||||||
|
}
|
||||||
|
|
||||||
|
# Redirect
|
||||||
|
reverse_proxy uptime-kuma-cyrus:3001 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user