[Bug]: Invalid parameter must-revalidate in gzip_proxied directive (nginx.conf line 11)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- docker, nginx
- Ambito
- devops, infrastructure
Direzione di ricerca
Apri nginx.conf e controlla la riga 11 nella sezione «Gzip compression». Rimuovi il parametro non supportato gzip_proxied, quindi convalida la configurazione e conferma che il container evolution_frontend si avvii senza l'errore Nginx segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Prerequisites
- I have searched existing issues to ensure this bug hasn't been reported before
- I have read the documentation
- I am using a supported version of Evolution Manager
Bug Description
Description
There is an invalid configuration value in the nginx.conf file under the “Gzip compression” section. On line 11 the directive gzip_proxied currently includes must-revalidate as one of its parameters:
However, according to the official Nginx documentation for the gzip_proxied directive, the valid values are:
off, expired, no-cache, no-store, private, no_last_modified, no_etag, auth, any. :contentReference[oaicite:1]{index=1}
The value must-revalidate is not listed and thus causes the error observed:
Impact
- Nginx fails to start or becomes stuck in the “Starting” state due to this invalid directive, preventing proper compression and serving of content.
- Compression behaviour may not apply as intended for proxied responses, which may affect performance or caching behaviour.
- It introduces configuration drift and potential confusion, since
must-revalidateis a valid HTTPCache-Controldirective but not valid in the context ofgzip_proxied.
Suggested Fix
To fix this issue, the must-revalidate parameter should be removed from the gzip_proxied directive. For example, update line 11 to something like:
Steps to Reproduce
- Pull or build the evolution-api stack, which uses evolution-manager-v2 and the evolution_frontend container.
- Deploy it via Docker (for example docker run, docker compose up, or similar).
- The evolution_frontend container attempts to start.
- In its logs you see an error like:
invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11 - Because of this invalid directive in nginx.conf (line 11) the Nginx process fails to start properly and the container stays in a Starting or Crash / Restart state instead of reaching Running.
Expected Behavior
Container evolution_frontend shoould start.
Actual Behavior
Because of this invalid directive in nginx.conf (line 11) the Nginx process fails to start properly and the container stays in a Starting or Crash / Restart state instead of reaching Running.
Screenshots
No response
Browser
Chrome
Browser Version
141.0.7390.123
Evolution Manager Version
v2.0.0
Evolution API Version
latest
Operating System
Windows
Console Logs
2025-11-02 11:27:32
Starting Evolution Manager v2...
2025-11-02 11:27:36 Starting Evolution Manager v2...
2025-11-02 11:27:25
2025/11/02 14:27:25 [emerg] 6#6: invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
2025-11-02 11:27:25 nginx: [emerg] invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
2025-11-02 11:27:26 2025/11/02 14:27:26 [emerg] 7#7: invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
nginx: [emerg] invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
2025-11-02 11:27:27
2025/11/02 14:27:27 [emerg] 6#6: invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
2025-11-02 11:27:27
nginx: [emerg] invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf:11
Additional Context
No response
Contribution
- I would like to work on fixing this bug
- Lingua principale
- TypeScript
- Stelle
- 20
- Fork
- 42
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di evolution-foundation/evolution-manager-v2
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
CONFIG_SESSION_PHONE_VERSIONAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 15/100
-
TODO tasksAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
evolution-foundation/evolution-manager-v2#6 · 1 commento ·
Tutte le issue di evolution-foundation/evolution-manager-v2
Issue simili
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
lingdojo/kana-dojo#33286 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
friction
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 77/100
kentcdodds/kody#4499 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
hemilabs/ui-monorepo#2605 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 6 giorni
-
build.yml: macOS arm64 DMG fails, cargo missing on the macos-26 runner imageForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getopenscreen/openscreen#1423 ·
I maintainer di solito rispondono entro 1 giorno