openvibers/openvibe.coupons Commits
Coupons vhost: /internal/ is never proxied (the Events webhook is loopback-only). (#12)
Changes
@@@ -96,6 +96,9 @@ server {proxy_pass http://127.0.0.1:4850;}++ # ── The Events webhook: OpenVibe.Events delivers over loopback, never through the public vhost ──++ location /internal/ { return 404; }++# ── Prometheus metrics: host-local scrapers only (http://127.0.0.1:4850/metrics) ──location = /metrics { return 404; }
@@ -96,6 +96,9 @@ server {
@@ -96,6 +96,9 @@ server {
proxy_pass http://127.0.0.1:4850;
proxy_pass http://127.0.0.1:4850;
}
}
+ # ── The Events webhook: OpenVibe.Events delivers over loopback, never through the public vhost ──
+ location /internal/ { return 404; }
+
# ── Prometheus metrics: host-local scrapers only (http://127.0.0.1:4850/metrics) ──
# ── Prometheus metrics: host-local scrapers only (http://127.0.0.1:4850/metrics) ──
location = /metrics { return 404; }
location = /metrics { return 404; }