add robots.txt except
This commit is contained in:
parent
3d7d672977
commit
5d4376978a
@ -3,7 +3,13 @@ server {
|
|||||||
|
|
||||||
server_name SITE_URL;
|
server_name SITE_URL;
|
||||||
|
|
||||||
return 301 https://$host$request_uri;
|
location /robots.txt {
|
||||||
|
root FOLDER;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
Loading…
Reference in New Issue
Block a user