You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
We have location blocks which use
add_header
to add additional headers but these blocks also use aninclude
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.The text was updated successfully, but these errors were encountered: