Add robots.txt

This commit is contained in:
Perflyst 2021-03-09 14:34:38 +01:00
parent 1ef70ae1f0
commit 274df1b73a
No known key found for this signature in database
GPG key ID: B0D9C8E56E999F68

View file

@ -2,6 +2,10 @@
(common) { (common) {
encode gzip encode gzip
respond /robots.txt 200 {
body "User-agent: *
Disallow: /
"
log { log {
output file /var/log/caddy/access.log { output file /var/log/caddy/access.log {
roll_size 500mb roll_size 500mb