summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Powell <zifnab@zifnab06.net>2017-05-23 21:45:06 -0700
committerTom Powell <zifnab@zifnab06.net>2017-05-23 21:45:06 -0700
commit671faf98e08bfb534d673f5de223bf0561fcf4e4 (patch)
tree036646d1f4907e2caa5ba6560d4e1894a09e102f
parent0732ead29f3ecd6df4a6ed47bb80fd4f605617f1 (diff)
downloadansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.tar.gz
ansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.tar.bz2
ansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.zip
Bye bye robots
-rw-r--r--roles/stats/files/nginx.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/stats/files/nginx.conf.j2 b/roles/stats/files/nginx.conf.j2
index 46e0560..37297e4 100644
--- a/roles/stats/files/nginx.conf.j2
+++ b/roles/stats/files/nginx.conf.j2
@@ -41,8 +41,8 @@ server {
}
- location ~* /api/v1/.*/unofficial/.* {
- return 404;
+ location /robots.txt {
+ alias /var/www/stats.lineageos.org/robots.txt;
}
location /static {