Fix caddy logging
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.caddy;
|
||||
configFile = pkgs.writeText "Caddyfile" ''
|
||||
{
|
||||
acme_ca https://ca.home.2rjus.net/acme/acme/directory
|
||||
@@ -9,7 +10,9 @@
|
||||
|
||||
nix-cache.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/nix-cache.log
|
||||
output file /var/log/caddy/nix-cache.log {
|
||||
mode 644
|
||||
}
|
||||
}
|
||||
reverse_proxy http://localhost:5000
|
||||
}
|
||||
|
Reference in New Issue
Block a user