-
|
Seems there was some good progress on running Prowler behind reverse proxy here And i'm trying to get it working in Azure App gateway. Edit: AUTH_URL=https://mydomain.com Logs in docker also not showing much as far as i can see...
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @olsonnn 👋 Looking at your screenshot — the 404 body is Here's the catch: That single misconfiguration explains everything you see:
Suggested fix: in App Gateway, the API path mapping needs to be exact-prefix To confirm before you touch the gateway config, could you share:
With those we should be able to confirm and unblock you. 🚀 |
Beta Was this translation helpful? Give feedback.
-
|
Oh yes!!! /api/v1/* did the trick! instead of /api/*
Was scratching my head for hours ahha. Thank you so much! |
Beta Was this translation helpful? Give feedback.



Hi @olsonnn 👋
Looking at your screenshot — the 404 body is
<h1>Not Found</h1>, which is the Django default 404 response, meaning that request did reach the API container, but Django has no route at/api/v1/auth/session.Here's the catch:
/api/v1/auth/sessionisn't a path the UI code ever calls. The UI uses NextAuth, whose session endpoint is/api/auth/session(without/v1) and is served by the UI container, not the Django API. So the browser is requesting/api/auth/session, and something in your Azure App Gateway is rewriting the path to/api/v1/auth/sessionbefore forwarding it to the API backend. The most common cause is a backend HTTP setting on App Gateway with "Override backend path =…