ngnix: add location /robots.txt for gemini and gopher

This commit is contained in:
creme 2021-07-10 16:36:58 +00:00
parent ec63c42f7a
commit 0baffb2825
3 changed files with 6 additions and 0 deletions

View File

@ -24,5 +24,6 @@ server {
proxy_pass http://127.0.0.1:8994;
}
include snippets/robots;
include snippets/favicon;
}

View File

@ -24,5 +24,6 @@ server {
proxy_pass http://127.0.0.1:8993;
}
include snippets/robots;
include snippets/favicon;
}

View File

@ -0,0 +1,4 @@
location = /robots.txt {
alias /etc/nginx/robots.txt;
}