AspireCloud/docker/webapp/Caddyfile
Chuck Adams f7531d105f
Security hardening, upgrade php to 8.4 (#177)
* feat: enable zstd and gzip compression in Caddyfile.

* dev: mount Caddyfile and php.ini in webapp

* refactor: remove all local port bindings in docker-compose.yml

* build: bump php base images to 8.4.4

* tweak: use high UID for container app user

* CI: use step-security/harden-runner and pinned commit hashes

* ci: use php 8.4 in CI runner
2025-03-15 12:32:22 -06:00

14 lines
196 B
Caddyfile

{
frankenphp
servers {
trusted_proxies static private_ranges
trusted_proxies_strict
}
}
http:// {
root * /app/public
php_server
log
encode zstd gzip
}