Unix socket volume was root-owned, FPM running as uid 1000 couldn't create the socket. TCP app:9000 works without privilege changes and has negligible performance difference in a local Docker network. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
290 B
Caddyfile
16 lines
290 B
Caddyfile
{
|
|
admin off
|
|
}
|
|
|
|
ss3k.schaunwama.de {
|
|
root * /var/www/public
|
|
php_fastcgi app:9000
|
|
file_server
|
|
encode gzip
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Frame-Options "DENY"
|
|
}
|
|
}
|