deny robots via Caddyfile

pull/15/head
JensDiemer 2020-10-26 09:10:14 +01:00
rodzic 689cd92de3
commit 1e81cc796a
1 zmienionych plików z 12 dodań i 1 usunięć

Wyświetl plik

@ -5,5 +5,16 @@
{$HOSTNAME} { {$HOSTNAME} {
tls {$LETSENCRYPT_EMAIL} tls {$LETSENCRYPT_EMAIL}
header {
X-Robots-Tag "none"
}
respond /robots.txt 200 {
body "User-agent: *
Disallow: /"
close
}
reverse_proxy inventory:8000 reverse_proxy inventory:8000
} }