build: wire portal-frontend into proxy and docker-compose
Adds portal-frontend as a new service (no published port, only reachable via the proxy, same as new-frontend) and two nginx location blocks for /portal - a bare-path redirect plus the prefix-stripping proxy_pass. The existing /, /legacy, and /api/ blocks are unchanged. Verified end to end: /portal/, a deep link, and / all return 200 through the single published proxy port, and /api/worklist still returns the full 17-item worklist.
This commit is contained in:
@@ -83,6 +83,9 @@ services:
|
||||
new-frontend:
|
||||
build: ./new-frontend
|
||||
|
||||
portal-frontend:
|
||||
build: ./portal-frontend
|
||||
|
||||
proxy:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
@@ -91,5 +94,6 @@ services:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- new-frontend
|
||||
- portal-frontend
|
||||
- new-backend
|
||||
- legacy-frontend
|
||||
|
||||
Reference in New Issue
Block a user