build(GIT): move helper scripts to own directory

This commit is contained in:
Asif Bacchus
2021-01-07 15:06:38 -07:00
parent d742bdf9ab
commit 7c0616afe1
12 changed files with 0 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# these are common security headers that you can easily add to locations or
# entire server blocks by including this file
# include /etc/nginx/snippets/headersSecurity.conf;
add_header Feature-Policy "geolocation 'self'";
add_header Referrer-Policy "same-origin" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options noopen;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Permitted-Cross-Domain-Policies none;
add_header X-UA-Compatible "IE=edge";
add_header X-XSS-Protection "1; mode=block" always;
# prevent search engines from indexing sites on this server
# comment the line below if you are running public sites!
add_header X-Robots-Tag none;
+4
View File
@@ -0,0 +1,4 @@
- Place any configuration 'snippets' in this directory. You can then reference
these files in your server configuration, etc.
- This directory is a great place for supplemental SSL configuration if you
have one site that uses different certificates, for example