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