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,8 +3,14 @@ server {
server_name SITE_URL;
location /robots.txt {
root FOLDER;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;