diff --git a/conf.d/autoconfig.shore.co.il.conf b/conf.d/autoconfig.shore.co.il.conf index 18ac9e0542ac71af1cdf02daffe2b681946a303e..3391196d90c116c2c71f5f2a0b9010869d4f3d55 100644 --- a/conf.d/autoconfig.shore.co.il.conf +++ b/conf.d/autoconfig.shore.co.il.conf @@ -4,6 +4,7 @@ server { server_name autoconfig.shore.co.il; root /var/www/autoconfig.shore.co.il/; include snippets/www-acme-challenge.conf; + include snippets/ads-txt.conf; include snippets/robots-allow-all.conf; } @@ -13,5 +14,6 @@ server { server_name autoconfig.shore.co.il; root /var/www/autoconfig.shore.co.il/; include snippets/robots-allow-all.conf; + include snippets/ads-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 bf45c7028f30e17e5eebd671076d48056af26594..6b81e5c5e2b09f966588c3d6198d180a5428a434 100644 --- a/conf.d/git.shore.co.il.conf +++ b/conf.d/git.shore.co.il.conf @@ -5,6 +5,7 @@ server { listen [::]:80; server_name git.shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-txt.conf; include snippets/www-acme-challenge.conf; include snippets/redirect-https.conf; } @@ -14,6 +15,7 @@ server { listen [::]:443 ssl; server_name git.shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-txt.conf; include snippets/ssl.conf; location / { diff --git a/conf.d/global.conf b/conf.d/global.conf index da15b04b228bb74c8440cb4012785d9adc65e447..19b88c28c915b629ef86b51206625cf777330bbf 100644 --- a/conf.d/global.conf +++ b/conf.d/global.conf @@ -5,5 +5,4 @@ tcp_nopush on; tcp_nodelay on; server_tokens off; include snippets/common-headers.conf; -include snippets/ads-txt.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 4cfcbccdc26bc7a6d9b6241902187ec2b26038b8..6da07d11536a62ef6368d055b4da23073a1d982b 100644 --- a/conf.d/mail.shore.co.il.conf +++ b/conf.d/mail.shore.co.il.conf @@ -4,6 +4,7 @@ server { server_name imap.shore.co.il smtp.shore.co.il mta-sts.shore.co.il; root /var/www/mail.shore.co.il/; include snippets/robots-disallow-all.conf; + include snippets/ads-txt.conf; } server { @@ -12,6 +13,7 @@ server { server_name mta-sts.shore.co.il; root /var/www/mail.shore.co.il/; include snippets/robots-disallow-all.conf; + include snippets/ads-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 f6196994b85acd811d4f776eb83c79877aeffdd8..44b732bd409d698423322c26cd0e836f836f83f6 100644 --- a/conf.d/nextcloud.shore.co.il.conf +++ b/conf.d/nextcloud.shore.co.il.conf @@ -5,6 +5,7 @@ server { listen [::]:80; server_name nextcloud.shore.co.il; include snippets/robots-disallow-all.conf; + include snippets/ads-txt.conf; include snippets/www-acme-challenge.conf; include snippets/redirect-https.conf; } @@ -14,6 +15,7 @@ server { listen [::]:443 ssl; server_name nextcloud.shore.co.il; include snippets/robots-disallow-all.conf; + include snippets/ads-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 e6676926bfbfdad00e528ce1369809a222395b61..4902896ee1c1112b2b16c876d8197e5d7feb2a33 100644 --- a/conf.d/shore.co.il.conf +++ b/conf.d/shore.co.il.conf @@ -5,6 +5,7 @@ server { listen [::]:80; server_name shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-txt.conf; location = / { return 301 https://$host/blog/; } location /repo/ { root /var/www/www.shore.co.il/; @@ -18,6 +19,7 @@ server { listen [::]:443 ssl; server_name shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-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 bc9993a831e07b8a8ff59f794eb846a595bc518a..2b3e29fb34718c2403e1af95b4b0900b58b5f4c4 100644 --- a/conf.d/www.shore.co.il.conf +++ b/conf.d/www.shore.co.il.conf @@ -7,6 +7,7 @@ server { listen [::]:80 default_server; server_name www.shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-txt.conf; location = / { return 301 https://$host/blog/; } location /repo/ { root /var/www/www.shore.co.il/; @@ -20,6 +21,7 @@ server { listen [::]:443 ssl default_server; server_name www.shore.co.il; include snippets/robots-allow-all.conf; + include snippets/ads-txt.conf; include snippets/ssl.conf; root /var/www/www.shore.co.il/; error_page 404 /;