Compare commits
2 Commits
2096f20516
...
2bf5413fde
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bf5413fde | |||
| f41938b4eb |
58
Caddyfile
58
Caddyfile
@@ -126,3 +126,61 @@ kuma.lucasroyer.fr {
|
|||||||
reverse_proxy uptime-kuma:3001 {
|
reverse_proxy uptime-kuma:3001 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
n8n.lucasroyer.fr {
|
||||||
|
# Security
|
||||||
|
header {
|
||||||
|
X-Frame-Options "SAMEORIGIN"
|
||||||
|
X-Content-Type-Options "nosniff"
|
||||||
|
X-XSS-Protection "1; mode=block"
|
||||||
|
Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Compression
|
||||||
|
encode zstd gzip
|
||||||
|
|
||||||
|
# Log
|
||||||
|
log {
|
||||||
|
output file /data/n8n_access.log
|
||||||
|
}
|
||||||
|
|
||||||
|
# Redirect
|
||||||
|
reverse_proxy n8n:5678 {
|
||||||
|
header_up Host {host}
|
||||||
|
header_up X-Real-IP {remote_host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ntfy.lucasroyer.fr {
|
||||||
|
# Security
|
||||||
|
header {
|
||||||
|
X-Frame-Options "SAMEORIGIN"
|
||||||
|
X-Content-Type-Options "nosniff"
|
||||||
|
X-XSS-Protection "1; mode=block"
|
||||||
|
Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||||
|
}
|
||||||
|
|
||||||
|
# No cache
|
||||||
|
header -Cache-Control
|
||||||
|
header -Expires
|
||||||
|
|
||||||
|
# Large files
|
||||||
|
request_body {
|
||||||
|
max_size 512MB
|
||||||
|
}
|
||||||
|
|
||||||
|
# Compression
|
||||||
|
encode gzip
|
||||||
|
|
||||||
|
# Log
|
||||||
|
log {
|
||||||
|
output file /data/ntfy_access.log
|
||||||
|
}
|
||||||
|
|
||||||
|
# Redirect
|
||||||
|
reverse_proxy ntfy:80 {
|
||||||
|
flush_interval -1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user