@@ -91,6 +91,21 @@ server {
91
91
proxy_pass http://{{ registry_ipv4 }}:{{ registry_port }};
92
92
}
93
93
94
+ # Prio / Orchestrate URL test list
95
+ # Forwarded to Haproxy on localhost - see roles/haproxy/README.adoc
96
+ # Should match:
97
+ # - /api/v1/test-list/urls
98
+ location /api/v1/test-list/urls {
99
+ proxy_http_version 1.1;
100
+ proxy_set_header Host $http_host;
101
+ proxy_set_header X-Real-IP $remote_addr;
102
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
103
+ proxy_set_header X-Forwarded-Proto $scheme;
104
+ proxy_read_timeout 900;
105
+
106
+ proxy_pass http://127.0.0.1:9972;
107
+ }
108
+
94
109
# Orchestrate
95
110
# Should match:
96
111
# - /api/v1/test-list
@@ -104,6 +119,7 @@ server {
104
119
105
120
proxy_pass http://{{ orchestrate_ipv4 }}:{{ orchestrate_port }};
106
121
}
122
+
107
123
# - /api/v1/admin/jobs
108
124
location ~^/api/v1/admin/(jobs|job) {
109
125
proxy_http_version 1.1;
@@ -141,5 +157,19 @@ server {
141
157
return 200 "{{ probe_services_domain }}";
142
158
}
143
159
160
+ # Haproxy on localhost dashboard - see roles/haproxy/README.adoc
161
+ # - /haproxy_stats
162
+ location /haproxy_stats {
163
+ proxy_http_version 1.1;
164
+ proxy_set_header Host $http_host;
165
+ proxy_set_header X-Real-IP $remote_addr;
166
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
167
+ proxy_set_header X-Forwarded-Proto $scheme;
168
+ proxy_read_timeout 900;
169
+
170
+ proxy_pass http://127.0.0.1:9972;
171
+ }
172
+
173
+
144
174
{{ c.location_letsencrypt() }}
145
175
}
0 commit comments