You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
519 B
29 lines
519 B
1 month ago
|
http://localhost, http://babypool.lol, http://babypool-lol.fly.dev {
|
||
|
bind 0.0.0.0
|
||
|
root * /usr/share/caddy/babypool.lol
|
||
|
file_server
|
||
|
encode gzip
|
||
|
header orig-server Caddy
|
||
|
|
||
|
basic_auth {
|
||
|
wperron $2y$10$79.4ujIzCrSY9kAVUrjjNu.cZ1nShU2Y8.AkoxRzNv4DhhuRRy2.e
|
||
|
}
|
||
|
|
||
|
log {
|
||
|
output file /var/log/caddy.log {
|
||
|
roll_uncompressed
|
||
|
roll_keep_for 168h # 7d
|
||
|
}
|
||
|
format json {
|
||
|
time_format rfc3339
|
||
|
time_local
|
||
|
duration_format nano
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
:9091 {
|
||
|
bind 0.0.0.0
|
||
|
metrics /metrics
|
||
|
}
|