Fix caddyfile for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
This commit is contained in:
parent
7f84780956
commit
9236d6aef7
@ -6,16 +6,12 @@
|
|||||||
configFile = pkgs.writeText "Caddyfile" ''
|
configFile = pkgs.writeText "Caddyfile" ''
|
||||||
{
|
{
|
||||||
acme_ca https://ca.home.2rjus.net/acme/acme/directory
|
acme_ca https://ca.home.2rjus.net/acme/acme/directory
|
||||||
metrics {
|
|
||||||
per_host
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
http://nix-cache.home.2rjus.net/metrics {
|
|
||||||
metrics
|
metrics
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
metrics /metrics
|
||||||
|
|
||||||
nix-cache.home.2rjus.net {
|
nix-cache.home.2rjus.net {
|
||||||
log {
|
log {
|
||||||
output file /var/log/caddy/nix-cache.log {
|
output file /var/log/caddy/nix-cache.log {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user