fix(nginx+compose): dotfile block first, no pdf gzip, single healthcheck (tour J4/N4/J5)

Dotfile location moved above caching regex locations (first match wins).
application/pdf out of gzip_types (already flate-compressed). Compose
healthcheck block removed — image HEALTHCHECK is the single source,
inherited. Oracles: nginx -t, dotfiles 404, PDF no Content-Encoding,
HTML still gzipped, headers 5/5, inherited health = healthy.
This commit is contained in:
Bastien Chanot committed 2026-07-06 01:06:54 +02:00
1 parent a589b99878
commit 84288c5c58
2 files changed
+9 -12

No files matched your search

+2 -6
View File
@@ -19,12 +19,8 @@ services:
restart: unless-stopped
ports:
- "127.0.0.1:${PORT:-8080}:8080"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8080/"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
# Healthcheck inherited from the image HEALTHCHECK (Dockerfile) — do not
# redeclare here, one definition only.
read_only: true
tmpfs:
# nginx-unprivileged writes pid + temp files under /tmp only.