Fix nginx: remove must-revalidate from gzip_proxied to prevent startu…#17
Merged
DavidsonGomes merged 2 commits intoEvolutionAPI:developfrom Nov 7, 2025
Merged
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRemove invalid 'must-revalidate' directive from nginx gzip_proxied settings to restore container startup and compliance with nginx documentation. Flow diagram for nginx startup with corrected gzip_proxied settingsflowchart TD
A["nginx.conf with invalid 'must-revalidate'"] --> B["nginx startup fails"]
C["nginx.conf with valid settings (without 'must-revalidate')"] --> D["nginx startup succeeds"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
📋 Description
Invalid value "must-revalidate" in /etc/nginx/conf.d/nginx.conf preventing evolution manager v2 startup locally.
Line changed from:
gzip_proxied expired no-cache no-store private must-revalidate auth;
To:
gzip_proxied expired no-cache no-store private auth;
The container now starts correctly.
The nginx documentation supports the change (http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied):
Syntax: gzip_proxied off | expired | no-cache | no-store | private | no_last_modified | no_etag | auth | any ...;
Default: gzip_proxied off;
Context: http, server, location
🔗 Related Issues
N/A
🧪 Type of Change
🧪 Testing
Test Environment
Test Cases
Test Instructions
services:
frontend:
container_name: evolution_frontend
image: evoapicloud/evolution-manager:latest
restart: always
ports:
networks:
📸 Screenshots
N/A
Before
N/A
After
N/A
✅ Checklist
Code Quality
npm run lintand fixed any issuesTesting
Documentation
Internationalization
Breaking Changes
🔄 Migration Guide
N/A
Before
// Old code exampleAfter
// New code example📝 Additional Notes
N/A
🤝 Reviewer Guidelines
Focus Areas
Testing Checklist for Reviewers
Thank you for contributing to Evolution Manager! 🚀
Summary by Sourcery
Bug Fixes: