Files
nextcloud-selfhosted/caddy/Caddyfile
Thomas Gräfenstein 4329cfd3f2 switch nextcloud to FPM + Nginx for better static file performance
Replace the all-in-one Apache image with nextcloud:33-fpm and an Nginx
sidecar that serves static assets directly with gzip compression and
cache headers, avoiding the prefork concurrency bottleneck.
2026-03-22 17:00:33 +01:00

24 lines
321 B
Caddyfile

{
servers {
timeouts {
read_header 10s
idle 60s
}
max_header_size 16KB
}
}
nextcloud.t-gstone.de {
reverse_proxy nextcloud-nginx:80
header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
request_body {
max_size 10G
}
}
git.t-gstone.de {
reverse_proxy gitea:3000
}