add robots.txt except

This commit is contained in:
2021-11-18 02:33:12 +03:00
parent 3d7d672977
commit 5d4376978a

View File

@@ -3,7 +3,13 @@ server {
server_name SITE_URL;
return 301 https://$host$request_uri;
location /robots.txt {
root FOLDER;
}
location / {
return 301 https://$host$request_uri;
}
}
server {