Skip to content

Commit abea180

Browse files
committed
fix: caddy
1 parent eab1175 commit abea180

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

custom_modules/core_services.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ in
134134
reverse_proxy 127.0.0.1:7171
135135
}
136136
137+
handle_path /caddy-api* {
138+
reverse_proxy 127.0.0.1:2019 {
139+
header_up Host {upstream_hostport}
140+
}
141+
}
142+
137143
handle {
138144
reverse_proxy 127.0.0.1:8082
139145
}
@@ -288,7 +294,7 @@ in
288294
{
289295
"Caddy" = {
290296
icon = "caddy";
291-
href = "http://127.0.0.1:2019/config/"; # Raw JSON config view
297+
href = "/caddy-api/config/";
292298
description = "Reverse Proxy";
293299
widget = {
294300
type = "caddy";

0 commit comments

Comments
 (0)