kopia lustrzana https://github.com/jedie/PyInventory
29 wiersze
429 B
Caddyfile
29 wiersze
429 B
Caddyfile
![]() |
# https://caddyserver.com/docs/caddyfile
|
||
|
|
||
|
{$HOSTNAME} {
|
||
|
tls {$LETSENCRYPT_EMAIL}
|
||
|
|
||
![]() |
log {
|
||
|
output stdout
|
||
|
format console
|
||
|
level WARN
|
||
|
}
|
||
|
|
||
![]() |
header {
|
||
|
X-Robots-Tag "none"
|
||
|
}
|
||
|
|
||
|
respond /robots.txt 200 {
|
||
|
body "User-agent: *
|
||
|
Disallow: /"
|
||
|
close
|
||
|
}
|
||
|
|
||
![]() |
route {
|
||
![]() |
file_server /static/* {
|
||
|
root /srv/
|
||
![]() |
}
|
||
|
reverse_proxy inventory:8000
|
||
|
}
|
||
![]() |
}
|