Skip to main content

App Gateway Environment Variables

NameRequiredTypeDefault ValueDescription
UPSTREAMTRUEstringThe network address of the POP server that this node works with
UPSTREAM_SNITRUEstringThe service name of the POP server; corresponds to the SNI variable on the POP server
CERTTRUEstringPath to the certificate (PEM format) used for authentication
KEYTRUEstringPath to the private key (PEM format) corresponding to the certificate
INSECUREFALSEbooleanWhether to validate certificates of external components (Edges, other App Gateways, etc.)
DB_PATHTRUEstring/dbdata/idac.dbPath to the database file
EXTERNAL_MFA_TIMEOUTTRUEduration5mTimeout for MFA tokens sent via SMS
ALLOW_CORSFALSEbooleanWhether CORS is allowed on the App Gateway API
LOG_REQUESTSFALSEbooleanWhether to log HTTP requests to the App Gateway API
LICENSE_PATHTRUEstringPath to the license file
BLOB_PATHTRUEstring/<host>/blobsPath where blobs are stored
EXTERNAL_SERVICES_URLTRUEstringhttps://service-gateway.safous.comURL of external services server (used for SMS, etc.)
RECERTER_RUNFALSEbooleanTRUEUnsupported
RECERTER_WATCH_DAYSFALSEint10Unsupported
RECERTER_WATCH_INTERVALFALSEduration36hUnsupported
RECORDING_PATHTRUEstring/<host>/tmp/recordingsTemp location for recordings before moving to blob store
USE_EDGE_PROXYFALSEbooleanWhether to proxy network access to external services via POPs
NATIVE_SSH_UPSTREAMFALSEstringssh.tcp.ztna.safous.com:443Address of native SSH gateway
NATIVE_SSH_UPSTREAM_SNIFALSEstringssh.ztna.safous.comSNI name for native SSH gateway
NATIVE_SSH_SECRETFALSEstringStatic secret for SSH gateway (if not using license-based auth)
SYSLOG_ADDRESSESFALSE[]stringComma-delimited list of syslog servers
RAFT_PATHTRUEstring/dbdata/raftPath storing Raft cluster metadata
RAFT_VOTERFALSEstringWhether the node participates in Raft (or is read-only)
SITETRUEstringdefaultSite name corresponding to the App Gateway
ID_FILETRUEstring/config/idfileFile in which App Gateway ID is persisted
LOGS_DB_PATHTRUEstring/config/logs.dbPath for activity log database
RDP_KEYBOARD_LAYOUTFALSEstringen-us-quertyRDP server keyboard layout
HTTP_PROXYFALSEstringProxy for HTTP web applications <host>:<port>
HTTPS_PROXYFALSEstringProxy for HTTPS web applications <host>:<port>
COOKIE_SAME_SITE_MODEFALSEstringlaxSets SameSite attribute on cookies (none, lax, or strict)
COOKIE_DOMAINFALSEstringcertificate CNOverrides default domain from cert CN for cross-origin cookies
DISABLE_AUTO_UPDATEFALSE(No description provided)

SameSite Mode Details:

  • lax: Cookies are not sent to third-party domains unless navigating to the origin site.
  • none: Cookies are sent on all requests, same-site and cross-origin.
  • strict: Cookies are only sent in first-party contexts (same-site).