robots.txt

This commit is contained in:
kleines Filmröllchen 2025-02-04 20:21:07 +01:00
parent c5a5a2dff5
commit 5d19eacf95
4 changed files with 20 additions and 6 deletions

View file

@ -9,9 +9,14 @@ server {
client_body_timeout 60;
index index.php index.html index.htm;
location ~ \.ht {
deny all;
}
location ~ \.ht {
deny all;
}
location /robots.txt {
root /etc/nginx;
try_files /robots.txt =404;
}
location / {
try_files $uri $uri/ @rewrite;