DaCrow13 commited on
Commit
1ba240e
·
1 Parent(s): 165412b

fix(nginx): use direct IP for Prometheus proxy

Browse files
Files changed (1) hide show
  1. docker/nginx.conf +1 -1
docker/nginx.conf CHANGED
@@ -102,7 +102,7 @@ http {
102
 
103
  # Prometheus UI
104
  location /prometheus/ {
105
- proxy_pass http://prometheus/prometheus/;
106
  proxy_set_header Host $host;
107
  proxy_set_header X-Real-IP $remote_addr;
108
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 
102
 
103
  # Prometheus UI
104
  location /prometheus/ {
105
+ proxy_pass http://127.0.0.1:9090/prometheus/;
106
  proxy_set_header Host $host;
107
  proxy_set_header X-Real-IP $remote_addr;
108
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;