aboutsummaryrefslogtreecommitdiffstats
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf9
1 files changed, 2 insertions, 7 deletions
diff --git a/nginx.conf b/nginx.conf
index 1f3d9c5..b400e5d 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -17,20 +17,15 @@ http {
ssl_session_timeout 1d;
ssl_session_tickets off;
ssl_prefer_server_ciphers on;
- # sendfile on;
+ sendfile on;
tcp_nopush on;
add_header X-Content-Type-Options "nosniff" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
- add_header Content-Security-Policy "default-src 'self';";
+ # add_header Content-Security-Policy "default-src 'none'; base-uri 'self'; form-action 'none'; manifest-src 'self'; connect-src * blob:; script-src 'self' 'unsafe-eval'; style-src 'self'; font-src 'self'; frame-ancestors 'none'; img-src 'self' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals allow-downloads";
add_header X-Frame-Options SAMEORIGIN always;
add_header X-XSS-Protection "1; mode=block" always;
- # add_header Permissions-Policy "geolocation=(self),midi=(self),sync-xhr=(self),microphone=(self),camera=(self),magnetometer=(self),gyroscope=(self),fullscreen=(self),payment=(self),usb=(self)";
add_header Referrer-Policy "no-referrer";
fastcgi_hide_header X-Powered-By;
- # resolver 9.9.9.9 208.67.222.222;
- # ssl_stapling on;
- # ssl_stapling_verify on;
- # ssl_trusted_certificate /certs/cert1.pem;
error_page 401 403 404 /404.html;
location / {