Compare commits

...
Author SHA1 Message Date
prafull-opensignlabs 0a23aabbe4 feat: update proxy file 2025-03-24 13:45:45 +05:30
prafull-opensignlabsandGitHub 4a85599703 Merge pull request #1660 from OpenSignLabs/updates-14030275569
feat: changes to implement one click deployment
2025-03-24 13:42:41 +05:30
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{$HOST_URL} { {$HOST_URL} {
reverse_proxy client:3000 reverse_proxy client:3000
handle_path /app/* { handle_path /api/* {
reverse_proxy server:8080 reverse_proxy server:8080
rewrite * /app{uri} rewrite * {uri}
} }
} }
+2 -1
View File
@@ -11,7 +11,8 @@ services:
env_file: .env.prod env_file: .env.prod
environment: environment:
- NODE_ENV=production - NODE_ENV=production
- SERVER_URL=${HOST_URL:-https://localhost:3001}/app - SERVER_URL=${HOST_URL:-https://localhost:3001}/api/app
- PUBLIC_URL=${HOST_URL:-https://localhost:3001}
networks: networks:
- app-network - app-network
mongo: mongo: