Updated headers.

master
Edwin Lyon 4 years ago committed by GitHub
parent 23a0f9f4c4
commit a71fafd723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      nginx/snippets/headers.conf

@ -1,6 +1,5 @@
add_header Referrer-Policy 'no-referrer';
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options SAMEORIGIN always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Content-Security-Policy "upgrade-insecure-requests";
add_header X-XSS-Protection "1; mode=block";
add_header Referrer-Policy "no-referrer";
add_header Content-Security-Policy "upgrade-insecure-requests";
add_header Permissions-Policy "geolocation=();midi=();notifications=(self);push=(self);sync-xhr=();microphone=();camera=();magnetometer=();gyroscope=();speaker=(self);vibrate=();fullscreen=(self);payment=();";

Loading…
Cancel
Save