Skip to content

Commit 09b9052

Browse files
authored
Merge pull request #27 from aws-samples/nginx-fix
allow nginx proxy
2 parents a1de8a3 + 22d1139 commit 09b9052

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)