mirror of https://github.com/yandex/gixy
[tests] test nested block in add_header_redefinition plugin (#10)
parent
14f0494afb
commit
5debeb9fa9
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue