diff --git a/tests/plugins/simply/add_header_redefinition/nested_block.conf b/tests/plugins/simply/add_header_redefinition/nested_block.conf new file mode 100644 index 0000000..a1375ac --- /dev/null +++ b/tests/plugins/simply/add_header_redefinition/nested_block.conf @@ -0,0 +1,12 @@ +server { + add_header X-Frame-Options "DENY" always; + location / { + location /some { + add_header X-Frame-Options "DENY" always; + } + + location /another { + add_header X-Foo foo; + } + } +} \ No newline at end of file