add robots.txt except

This commit is contained in:
Alexander Popov 2021-11-18 02:33:12 +03:00
parent 3d7d672977
commit 5d4376978a
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286

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 {