Corregir compose producción y nginx.conf

- nginx.conf: eliminar text/html de gzip_types (duplicado con default de nginx)
- compose: webroot apunta a /var/volumes/web_jailgames directamente
- compose: conf nginx montada como jailgames.conf (no default.conf)
  para evitar que el entrypoint la sobreescriba al arrancar
- healthcheck: usar pgrep nginx en lugar de wget (más fiable)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-30 13:32:37 +02:00
parent cff1746906
commit 314f2f3fd2
2 changed files with 8 additions and 19 deletions
+2 -1
View File
@@ -6,8 +6,9 @@ server {
index index.html;
# Compresión para HTML/CSS/JS
# text/html ya está incluido por defecto en nginx, no repetir
gzip on;
gzip_types text/html text/css application/javascript application/json image/svg+xml;
gzip_types text/css application/javascript application/json image/svg+xml;
gzip_min_length 256;
# Cacheo para assets estáticos (feria local)