37 lines
1.5 KiB
Bash
37 lines
1.5 KiB
Bash
# Puerto de la API NestJS
|
|||
|
|
PORT=3000
|
||
|
|
|
||
|
|
# Origen del frontend Angular (CORS). En desarrollo ng serve usa proxy, no hace falta.
|
||
|
|
WEB_ORIGIN=http://localhost:4200
|
||
|
|
|
||
|
|
# Service Layer de SAP Business One (con /b1s/v1 al final)
|
||
|
|
SL_URL=https://servidor-sap:50000/b1s/v1
|
||
|
|
# Base de datos de la sociedad (CompanyDB del Login)
|
||
|
|
SL_COMPANY_DB=SBODEMOCL
|
||
|
|
# false si el Service Layer usa un certificado autofirmado
|
||
|
|
SL_REJECT_UNAUTHORIZED=false
|
||
|
|
|
||
|
|
# Motor de la base de datos: HANA (producción) o MSSQL (pruebas)
|
||
|
|
DB_TYPE=HANA
|
||
|
|
|
||
|
|
# true cuando la API se publica por HTTPS (cookie de sesión con Secure)
|
||
|
|
COOKIE_SECURE=false
|
||
|
|
|
||
|
|
# ---------------------------------------------------------------------------------------------
|
||
|
|
# Despliegue (producción en Windows). En desarrollo se dejan vacías.
|
||
|
|
# ---------------------------------------------------------------------------------------------
|
||
|
|
|
||
|
|
# La API sirve también la web compilada. Si se omite, usa apps/web/dist/web/browser cuando existe.
|
||
|
|
# En la carpeta publicada (release) ya queda en su sitio y no hace falta configurarla.
|
||
|
|
# WEB_DIST_DIR=
|
||
|
|
|
||
|
|
# HTTPS directo en la API. Use UNA de estas dos formas (las rutas son absolutas).
|
||
|
|
# Con un .pfx:
|
||
|
|
# HTTPS_PFX_PATH=C:\apps\devolucion-proveedores\certificados\sitio.pfx
|
||
|
|
# HTTPS_PFX_PASSPHRASE=
|
||
|
|
# O con clave privada y certificado en PEM:
|
||
|
|
# HTTPS_KEY_PATH=C:\apps\devolucion-proveedores\certificados\sitio.key
|
||
|
|
# HTTPS_CERT_PATH=C:\apps\devolucion-proveedores\certificados\sitio.crt
|
||
|
|
|
||
|
|
# Con HTTPS: puerto HTTP que redirige al HTTPS (normalmente 80). Vacío = no se abre.
|
||
|
|
# HTTP_REDIRECT_PORT=80
|