From 274df1b73a61d5113baab19506894c801f72db9c Mon Sep 17 00:00:00 2001 From: Perflyst Date: Tue, 9 Mar 2021 14:34:38 +0100 Subject: [PATCH] Add robots.txt --- templates/Caddyfile.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/Caddyfile.j2 b/templates/Caddyfile.j2 index a82325d..22fe42c 100644 --- a/templates/Caddyfile.j2 +++ b/templates/Caddyfile.j2 @@ -2,6 +2,10 @@ (common) { encode gzip + respond /robots.txt 200 { + body "User-agent: * +Disallow: / +" log { output file /var/log/caddy/access.log { roll_size 500mb