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:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user