kopia lustrzana https://github.com/jedie/PyInventory
deny robots via Caddyfile
rodzic
689cd92de3
commit
1e81cc796a
|
@ -5,5 +5,16 @@
|
|||
|
||||
{$HOSTNAME} {
|
||||
tls {$LETSENCRYPT_EMAIL}
|
||||
|
||||
header {
|
||||
X-Robots-Tag "none"
|
||||
}
|
||||
|
||||
respond /robots.txt 200 {
|
||||
body "User-agent: *
|
||||
Disallow: /"
|
||||
close
|
||||
}
|
||||
|
||||
reverse_proxy inventory:8000
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue