Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_header_redefinition doesn't consider headers from include files #114

Open
Bub-la-bub opened this issue Oct 13, 2020 · 0 comments
Open

Comments

@Bub-la-bub
Copy link

We have location blocks which use add_header to add additional headers but these blocks also use an include statement to bring in a configuration file which defines the same headers used in the parent block (the parent includes the same file) - so the location block will have the same headers as the parent as well as the new headers specific to the location block, however Gixy flags these location blocks as "Problem: [add_header_redefinition] Nested "add_header" drops parent headers.".

We can confirm the headers are not dropped by inspecting headers for those locations in a browser, but Gixy appears to not parse the include statements at this level and assumes the parent headers were dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant