29 lines
760 B
Caddyfile
29 lines
760 B
Caddyfile
# Optional replacement for your existing flowise.v220... block.
|
|
# Use this if Flowise should only be reachable through WireGuard.
|
|
|
|
flowise.v2202510301049387828.goodsrv.de {
|
|
encode zstd gzip
|
|
|
|
@wireguard remote_ip 10.8.0.0/24
|
|
handle @wireguard {
|
|
reverse_proxy flowise:3000 {
|
|
header_up X-Forwarded-Proto {scheme}
|
|
header_up X-Forwarded-Host {host}
|
|
header_up X-Forwarded-For {remote_host}
|
|
header_up X-Real-IP {remote_host}
|
|
}
|
|
}
|
|
|
|
handle {
|
|
respond "forbidden" 403
|
|
}
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Frame-Options "SAMEORIGIN"
|
|
Referrer-Policy "no-referrer"
|
|
Permissions-Policy "interest-cohort=()"
|
|
}
|
|
}
|