Create mailcow.conf

master
Edwin Lyon 4 years ago committed by GitHub
parent 3e4d728bc2
commit ac453e1432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      nginx/snippets/mailcow.conf

@ -0,0 +1,7 @@
add_header Strict-Transport-Security "max-age=15768000";
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Referrer-Policy "strict-origin";
add_header Content-Security-Policy "upgrade-insecure-requests";
add_header Feature-policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'self';focus-without-user-activation 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb '*';vr 'none'";
Loading…
Cancel
Save