This is a small example using an NGINX server as reversal proxy
- jdk17
- Docker/Compose
Run: mvn clean package docker build -t reverseproxy . docker build -f DockerfileApp -t proxyapp . docker compose up
sequenceDiagram
Client ->> Proxy: /api/
Note right of Client: Client performs a get /api <br/> then the proxy redirects to the<br/>root endpoint
Proxy-->>Application: /