Skip to content

Commit 6d9c573

Browse files
authored
Merge pull request #844 from Erethon/hydra-dont-limit-metrics
hydra-proxy: Don't rate limit the metrics endpoint
2 parents ce7a677 + 7593283 commit 6d9c573

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/hydra-proxy.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
Allow: /$
7979
'';
8080

81+
locations."~ ^/job/[^/]+/[^/]+/metrics/metric/" = {
82+
proxyPass = "http://hydra-server";
83+
};
84+
8185
locations."/" = {
8286
proxyPass = "http://$upstream";
8387
extraConfig = ''

0 commit comments

Comments
 (0)