We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a85599 commit 0a23aabCopy full SHA for 0a23aab
Caddyfile
@@ -1,7 +1,7 @@
1
{$HOST_URL} {
2
reverse_proxy client:3000
3
- handle_path /app/* {
+ handle_path /api/* {
4
reverse_proxy server:8080
5
- rewrite * /app{uri}
+ rewrite * {uri}
6
}
7
docker-compose.yml
@@ -11,7 +11,8 @@ services:
11
env_file: .env.prod
12
environment:
13
- NODE_ENV=production
14
- - SERVER_URL=${HOST_URL:-https://localhost:3001}/app
+ - SERVER_URL=${HOST_URL:-https://localhost:3001}/api/app
15
+ - PUBLIC_URL=${HOST_URL:-https://localhost:3001}
16
networks:
17
- app-network
18
mongo:
0 commit comments