Replaces TCP app:9000 with a shared Unix socket volume, adds domain with automatic Let's Encrypt TLS, and exposes ports 80/443 on Caddy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
312 B
Caddyfile
16 lines
312 B
Caddyfile
{
|
|
admin off
|
|
}
|
|
|
|
ss3k.schaunwama.de {
|
|
root * /var/www/public
|
|
php_fastcgi unix//var/run/php/php-fpm.sock
|
|
file_server
|
|
encode gzip
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Frame-Options "DENY"
|
|
}
|
|
}
|