Large number of match conditions can cause reload errors #1107
Labels
bug
Something isn't working
good first issue
Good for newcomers
refined
Requirements are refined and the issue is ready to be implemented.
size/large
Estimated to be completed within two weeks
Milestone
Describe the bug
A large number of match conditions for a single hostname/path can cause an error like the following in nginx:
This prevents nginx from reloading.
This is because the
http_matches
variable we set exceeds 4096 characters.To Reproduce
Steps to reproduce the behavior:
NGF will generate an
http_matches
string that is 4097 characters long and nginx will fail to reload.3. View logs on nginx container
4. See error
Expected behavior
NGF should be able to handle large number of match conditions without nginx failing to reload.
Your environment
The text was updated successfully, but these errors were encountered: