mirror of https://github.com/yandex/gixy
[tests] test nested block in add_header_redefinition plugin
parent
14f0494afb
commit
1eebdac21a
|
@ -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