21 lines
608 B
Caddyfile
21 lines
608 B
Caddyfile
cloud.lebubu.org cloud.rotehaare.art {
|
|
redir /.well-known/carddav /remote.php/dav/ 301
|
|
redir /.well-known/caldav /remote.php/dav/ 301
|
|
reverse_proxy 10.77.0.2:8081 {
|
|
header_up Host {upstream_hostport}
|
|
header_up X-Real-IP {remote_host}
|
|
header_up X-Forwarded-For {remote_host}
|
|
header_up X-Forwarded-Proto {scheme}
|
|
}
|
|
|
|
header {
|
|
X-Frame-Options "SAMEORIGIN"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Permitted-Cross-Domain-Policies "none"
|
|
X-XSS-Protection "1; mode=block"
|
|
Referrer-Policy "no-referrer-when-downgrade"
|
|
Strict-Transport-Security "max-age=15552000; includeSubDomains"
|
|
-Server
|
|
}
|
|
}
|