mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
set caddy prometheus port dynamically
This commit is contained in:
parent
3cc264a857
commit
edb4ec77ca
@ -82,7 +82,8 @@
|
||||
match = [{ host = [ config.hostnames.prometheus ]; }];
|
||||
handle = [{
|
||||
handler = "reverse_proxy";
|
||||
upstreams = [{ dial = "localhost:9090"; }];
|
||||
upstreams =
|
||||
[{ dial = "localhost:${config.services.prometheus.port}"; }];
|
||||
}];
|
||||
}];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user