feat: add nginx reverse proxy configuration (#8516)#10780
Merged
jfagoagas merged 1 commit intoApr 20, 2026
Conversation
Adds a ready-to-use nginx config and docker-compose override that unifies Prowler UI (port 3000) and API (port 8080) behind a single port, solving CORS and auth failures behind reverse proxies. Includes nginx.conf, docker-compose override, and README with examples for Traefik, Caddy, and SAML SSO setup. Fixes prowler-cloud#8516
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
jfagoagas
approved these changes
Apr 20, 2026
Member
jfagoagas
left a comment
There was a problem hiding this comment.
Thanks for this contribution @boonchuan!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8516
Problem
Prowler's default Docker setup exposes UI (port 3000) and API (port 8080) as separate services. This causes CORS issues and authentication failures when accessed through an external reverse proxy.
Multiple users have hit this — running behind nginx, Azure App Gateway, Pangolin, and other proxies.
Solution
Added a ready-to-use nginx reverse proxy config in
contrib/reverse-proxy/that unifies both services behind a single port:/api/*and/accounts/saml/*→ prowler-api:8080/*→ prowler-ui:3000Usage
Files added
contrib/reverse-proxy/nginx.conf— nginx routing configcontrib/reverse-proxy/docker-compose.reverse-proxy.yml— compose overridecontrib/reverse-proxy/README.md— setup guide with Traefik and Caddy examplesArchitecture
Pairs with the SAML ACS URL fix in #10533 for complete reverse proxy + SSO support.