🐛 Webhooks are failing, changes on mappings are not applied
RPS Service Release: R21
Actual Behavior
When we edit a mapping, Netbox should send a webhook request to the RPS Config Controller running inside each containers.
However:
- for the WAF containers, we receive a request with the path
//webhook/netboxand return a404HTTP response. - for the Proxy containers, we receive a request with the path
/webhook/netbox/and return a307HTTP response with aLocationcontaininghttp://127.0.0.1:8000(which NEtbox obviously does not know about)
Desired Behavior
The Apache configuration on the WAF container should not send //webhook/netbox to the config controller, but /webhook/netbox.
The NGINX configuration on the Proxy container should rewrite the location header to not include http://127.0.0.1:8000.
Relevant Logs
N/A