Skip to content

Commit 22d1139

Browse files
author
Sean Smith
committed
allow nginx proxy
Signed-off-by: Sean Smith <[email protected]>
1 parent 2a27a42 commit 22d1139

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx/conf.d/nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,21 @@ server {
1616

1717
location /grafana/ {
1818
proxy_pass http://localhost:3000/;
19+
proxy_set_header Host $http_host;
1920
}
2021

2122
location /prometheus/ {
2223
proxy_pass http://localhost:9090/;
24+
proxy_set_header Host $http_host;
2325
}
2426

2527
location /pushgateway/ {
2628
proxy_pass http://localhost:9091/;
29+
proxy_set_header Host $http_host;
2730
}
2831

2932
location /slurmexporter/ {
3033
proxy_pass http://localhost:8080/;
34+
proxy_set_header Host $http_host;
3135
}
3236
}

0 commit comments

Comments
 (0)