Add logging to http proxy
This commit is contained in:
parent
5c34a42553
commit
35071d5fc2
@ -4,20 +4,35 @@
|
||||
enable = true;
|
||||
configFile = pkgs.writeText "Caddyfile" ''
|
||||
http://nzbget.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/nzbget.log
|
||||
}
|
||||
reverse_proxy http://nzbget-jail.home.2rjus.net:6789
|
||||
}
|
||||
|
||||
http://radarr.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/radarr.log
|
||||
}
|
||||
reverse_proxy http://radarr-jail.home.2rjus.net:7878
|
||||
}
|
||||
|
||||
http://sonarr.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/sonarr.log
|
||||
}
|
||||
reverse_proxy http://sonarr-jail.home.2rjus.net:8989
|
||||
}
|
||||
http://ha.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/ha.log
|
||||
}
|
||||
reverse_proxy http://ha1.home.2rjus.net:8123
|
||||
}
|
||||
http://z2m.home.2rjus.net {
|
||||
log {
|
||||
output file /var/log/caddy/z2m.log
|
||||
}
|
||||
reverse_proxy http://ha1.home.2rjus.net:8080
|
||||
}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user