File tree 1 file changed +24
-0
lines changed 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -33,22 +33,46 @@ http {
33
33
# we turn a couple of common locations off harcoded
34
34
35
35
location /healthz {
36
+ proxy_pass ##PROXY_PASS##;
37
+ proxy_set_header X-Forwarded-Host $host;
38
+ # Do not pass Authorization header to destination
39
+ proxy_set_header Authorization "";
40
+
36
41
auth_basic off;
37
42
}
38
43
39
44
location /ping {
45
+ proxy_pass ##PROXY_PASS##;
46
+ proxy_set_header X-Forwarded-Host $host;
47
+ # Do not pass Authorization header to destination
48
+ proxy_set_header Authorization "";
40
49
auth_basic off;
41
50
}
42
51
43
52
location /metrics {
53
+ proxy_pass ##PROXY_PASS##;
54
+ proxy_set_header X-Forwarded-Host $host;
55
+ # Do not pass Authorization header to destination
56
+ proxy_set_header Authorization "";
57
+
44
58
auth_basic off;
45
59
}
46
60
47
61
location /status {
62
+ proxy_pass ##PROXY_PASS##;
63
+ proxy_set_header X-Forwarded-Host $host;
64
+ # Do not pass Authorization header to destination
65
+ proxy_set_header Authorization "";
66
+
48
67
auth_basic off;
49
68
}
50
69
51
70
location /version {
71
+ proxy_pass ##PROXY_PASS##;
72
+ proxy_set_header X-Forwarded-Host $host;
73
+ # Do not pass Authorization header to destination
74
+ proxy_set_header Authorization "";
75
+
52
76
auth_basic off;
53
77
}
54
78
}
You can’t perform that action at this time.
0 commit comments