diff options
author | Tom Powell <zifnab@zifnab06.net> | 2017-05-23 21:45:06 -0700 |
---|---|---|
committer | Tom Powell <zifnab@zifnab06.net> | 2017-05-23 21:45:06 -0700 |
commit | 671faf98e08bfb534d673f5de223bf0561fcf4e4 (patch) | |
tree | 036646d1f4907e2caa5ba6560d4e1894a09e102f | |
parent | 0732ead29f3ecd6df4a6ed47bb80fd4f605617f1 (diff) | |
download | ansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.tar.gz ansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.tar.bz2 ansible-671faf98e08bfb534d673f5de223bf0561fcf4e4.zip |
Bye bye robots
-rw-r--r-- | roles/stats/files/nginx.conf.j2 | 4 |
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 { |