-
Couldn't load subscription status.
- Fork 1
Description
Description: Set up and configure Nginx to act as a reverse proxy. This server will be the single entry point for all frontend applications, routing requests to the appropriate backend services (Fineract, Keycloak).
Acceptance Criteria:
-
Nginx is installed and running, ideally within a Docker container to align with your docker-compose setup.
-
The Nginx configuration file (nginx.conf or a custom .conf file) is created and properly configured.
-
The proxy is set up to listen on a designated port (e.g., 80 or 443 for HTTPS).
-
proxy_pass directives are configured to forward requests to the Fineract and Keycloak services. For example, location /api/ should be routed to the Fineract backend, and location /auth/ should be routed to Keycloak.
-
The Nginx proxy service is added to your existing docker-compose.yml file
For security:
- All endpoints that the proxy will manage have to be listed explicitly in its config and allowed only with the necessary set of roles.