Add add.txt & disable unnecessary logging
This commit is contained in:
@@ -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;
|
||||
}
|
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user