nested_block.conf 207 B

123456789101112
  1. server {
  2. add_header X-Frame-Options "DENY" always;
  3. location / {
  4. location /some {
  5. add_header X-Frame-Options "DENY" always;
  6. }
  7. location /another {
  8. add_header X-Foo foo;
  9. }
  10. }
  11. }