blob: c8e6ad9f14680e51f095ac0ab17a7629a06db8b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
events {
worker_connections 1024;
}
http {
server {
listen 80;
keepalive_timeout 70;
add_header Content-Security-Policy "default-src 'self';";
add_header X-Frame-Options SAMEORIGIN always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "no-referrer";
sendfile on;
tcp_nopush on;
location / {
root /srv/;
add_header Access-Control-Allow-Origin "*";
add_header Content-Disposition "inline";
}
}
}
|