Commit 5833a305 authored by omega8cc's avatar omega8cc Committed by memtkmcc

Nginx: Fix for the add_header inheritance

“There could be several add_header directives. These directives are inherited from the previous level if and only if there are no add_header directives defined on the current level.” —

# Conflicts:
#	http/Provision/Config/Nginx/subdir.tpl.php
parent 5de479ce
......@@ -309,6 +309,9 @@ server {
expires 99s;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
add_header Access-Control-Allow-Origin *;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block" always;
root /var/www/nginx-default;
index index.html index.htm;
<?php else: ?>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment