working test deploy config
This commit is contained in:
+8
-3
@@ -18,7 +18,12 @@ KMTN_CORS_ORIGINS='["http://localhost:4200", "http://localhost"]'
|
||||
# KMTN_ENV=development
|
||||
|
||||
# ── Frontend (frontend service) ───────────────────────────────────────
|
||||
# URL of the API backend that nginx should proxy /api/ requests to.
|
||||
# Dev (Docker Compose): http://api:8000 (DNS resolves to the api container)
|
||||
# Prod: https://api.yourdomain.com (or whatever your API endpoint is)
|
||||
# Internal API target that nginx proxies /api/ requests to.
|
||||
# In Docker Compose this is the api service DNS name.
|
||||
API_UPSTREAM=http://api:8000
|
||||
|
||||
# Browser-facing API URL. Set this to control how the Angular app reaches the API.
|
||||
# "" (empty) — proxy mode: browser calls /api/* relative paths; nginx forwards to API_UPSTREAM.
|
||||
# "http://yourhost:8000" — direct mode: browser calls the API container directly (CORS required).
|
||||
# Use direct mode when an external ingress layer (e.g., TrueNAS middleware) breaks the nginx proxy chain.
|
||||
API_PUBLIC_URL=""
|
||||
|
||||
Reference in New Issue
Block a user