Skip to content

Commit fd85d7f

Browse files
committed
Add robots.txt to all domains. Addresses issue #48.
1 parent 63aef72 commit fd85d7f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

common/common.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ location /icons {
2121
proxy_cache_valid 200 1h;
2222
}
2323

24+
location = /robots.txt {
25+
root /var/www/badssl/common;
26+
try_files $uri $uri/ =404;
27+
}
28+
2429
location / {
2530
try_files $uri $uri/ =404;
2631
}

common/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: Browsershots
2+
Disallow:

0 commit comments

Comments
 (0)