-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
34 lines (28 loc) · 887 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
access_log off;
error_log off;
add_header Content-Security-Policy "default-src 'none'";
add_header Referrer-Policy "same-origin";
add_header Feature-Policy "sync-xhr 'none'";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
add_header X-Content-Type-Options "nosniff";
add_header X-Frame-Options "DENY";
add_header X-XSS-Protection: "1; mode=block";
add_header X-NetworkManager-Status "online";
location /generate204 {
return 204;
}
}
}