Add add.txt & disable unnecessary logging

This commit is contained in:
Tommy
2024-10-13 14:46:21 -07:00
committed by GitHub
parent a1708ef12b
commit 5106e34fb6
5 changed files with 18 additions and 0 deletions

View File

@@ -4,5 +4,6 @@ add_header X-Robots-Tag "noindex, nofollow" always;
location = /robots.txt {
root /srv/nginx;
allow all;
log_not_found off;
access_log off;
}

View File

@@ -1,3 +1,16 @@
location /.well-known/acme-challenge/ {
root /srv/nginx;
}
location = /ads.txt {
root /srv/nginx;
allow all;
log_not_found off;
access_log off;
}
location = /app-ads.txt {
root /srv/nginx;
allow all;
log_not_found off;
access_log off;
}