Files

33 lines
386 B
Caddyfile
Raw Permalink Normal View History

2026-10-29 20:40:02 +00:00
{
admin off
}
{$SITE_ADDRESS::80} {
encode zstd gzip
handle /api/* {
reverse_proxy api:8000 {
transport http {
read_timeout 120s
}
}
}
handle {
root * /srv/web
try_files {path} /index.html
file_server
}
header {
X-Content-Type-Options nosniff
Referrer-Policy same-origin
X-Frame-Options SAMEORIGIN
-Server
}
request_body {
max_size 25MB
}
}