Support LiteSpeed /server path via GLOBAL_PREFIX

Allow Nest prefix server/api and overlay dist from git onto the deploy bundle so proxy paths match without a full retar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 09:55:57 +03:30
co-authored by Cursor
parent 2d513a81af
commit b121797263
6 changed files with 19 additions and 11 deletions
+2
View File
@@ -11,6 +11,8 @@ DATABASE_URL=postgresql://fabric:fabric123@localhost:5432/fabric_trade?schema=pu
API_PORT=8585
PORT=3000
# پشت LiteSpeed با URI=/server این را بگذار:
GLOBAL_PREFIX=server/api
API_IMAGE=fabric-trade-api:latest
RUN_SEED=false