[tests] test nested block in add_header_redefinition plugin

pull/10/head
Andrew Krasichkov 2017-04-11 18:14:44 +03:00
parent 14f0494afb
commit 1eebdac21a
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}
}
}