diff --git a/conf.d/autoconfig.shore.co.il.conf b/conf.d/autoconfig.shore.co.il.conf index 3391196d90c116c2c71f5f2a0b9010869d4f3d55..84109f9a2de57bb3bd4020467b065df47193e96f 100644 --- a/conf.d/autoconfig.shore.co.il.conf +++ b/conf.d/autoconfig.shore.co.il.conf @@ -5,6 +5,7 @@ server { root /var/www/autoconfig.shore.co.il/; include snippets/www-acme-challenge.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/robots-allow-all.conf; } @@ -15,5 +16,6 @@ server { root /var/www/autoconfig.shore.co.il/; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/ssl.conf; } diff --git a/conf.d/git.shore.co.il.conf b/conf.d/git.shore.co.il.conf index 6b81e5c5e2b09f966588c3d6198d180a5428a434..65989ac3b029e156165587006b48e5382be24c8e 100644 --- a/conf.d/git.shore.co.il.conf +++ b/conf.d/git.shore.co.il.conf @@ -6,6 +6,7 @@ server { server_name git.shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/www-acme-challenge.conf; include snippets/redirect-https.conf; } @@ -16,6 +17,7 @@ server { server_name git.shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/ssl.conf; location / { diff --git a/conf.d/global.conf b/conf.d/global.conf index 19b88c28c915b629ef86b51206625cf777330bbf..09e07032507d25a4ac7b0b93650e1cdefd686d37 100644 --- a/conf.d/global.conf +++ b/conf.d/global.conf @@ -5,4 +5,3 @@ tcp_nopush on; tcp_nodelay on; server_tokens off; include snippets/common-headers.conf; -include snippets/security-txt.conf; diff --git a/conf.d/mail.shore.co.il.conf b/conf.d/mail.shore.co.il.conf index 6da07d11536a62ef6368d055b4da23073a1d982b..3bd2e13908ebfc3b9dddd0d47464aba2166f8541 100644 --- a/conf.d/mail.shore.co.il.conf +++ b/conf.d/mail.shore.co.il.conf @@ -5,6 +5,7 @@ server { root /var/www/mail.shore.co.il/; include snippets/robots-disallow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; } server { @@ -14,6 +15,7 @@ server { root /var/www/mail.shore.co.il/; include snippets/robots-disallow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; # Copied from snippetes/ssl.conf. add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; diff --git a/conf.d/nextcloud.shore.co.il.conf b/conf.d/nextcloud.shore.co.il.conf index 44b732bd409d698423322c26cd0e836f836f83f6..f138c70342c162f215538ff074cc3fbe1f0e5ac2 100644 --- a/conf.d/nextcloud.shore.co.il.conf +++ b/conf.d/nextcloud.shore.co.il.conf @@ -6,6 +6,7 @@ server { server_name nextcloud.shore.co.il; include snippets/robots-disallow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/www-acme-challenge.conf; include snippets/redirect-https.conf; } @@ -16,6 +17,7 @@ server { server_name nextcloud.shore.co.il; include snippets/robots-disallow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/ssl.conf; include snippets/nextcloud-well-known.conf; diff --git a/conf.d/shore.co.il.conf b/conf.d/shore.co.il.conf index 4902896ee1c1112b2b16c876d8197e5d7feb2a33..48c587ef37038cc60f7b7656766f38bdf6c9d747 100644 --- a/conf.d/shore.co.il.conf +++ b/conf.d/shore.co.il.conf @@ -6,6 +6,7 @@ server { server_name shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; location = / { return 301 https://$host/blog/; } location /repo/ { root /var/www/www.shore.co.il/; @@ -20,6 +21,7 @@ server { server_name shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/ssl.conf; include snippets/nextcloud-well-known.conf; include snippets/z-push.conf; diff --git a/conf.d/www.shore.co.il.conf b/conf.d/www.shore.co.il.conf index 2b3e29fb34718c2403e1af95b4b0900b58b5f4c4..35504f6fb78ba5604c016c572a7745abd32dd05e 100644 --- a/conf.d/www.shore.co.il.conf +++ b/conf.d/www.shore.co.il.conf @@ -8,6 +8,7 @@ server { server_name www.shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; location = / { return 301 https://$host/blog/; } location /repo/ { root /var/www/www.shore.co.il/; @@ -22,6 +23,7 @@ server { server_name www.shore.co.il; include snippets/robots-allow-all.conf; include snippets/ads-txt.conf; + include snippets/security-txt.conf; include snippets/ssl.conf; root /var/www/www.shore.co.il/; error_page 404 /;