Variable name | Description | Default or sample value |
---|---|---|
SERVER_NAME
|
Required. The hostname where your API endpoint is exposed and that your clients will call to invoke your API. This is the address that the API Firewall instance listens on. API Firewall validates the hostname in the If API Firewall is terminating TLS connection, the certificates in |
myapis.acme.com
|
LISTEN_PORT
|
Required. The port that the API Firewall instance listens on. In Kubernetes deployments, this must match the value of containerPort of the API Firewall container. |
443
|
TARGET_URL
|
Required. The backend URL where the API Firewall instance proxies requests to. Both HTTP and HTTPS are supported.
If the
protected API and the API Firewall instance run in the same container, use localhost for better
performance. |
http://localhost:8090
|
LISTEN_SSL_CERT
|
Required if If API Firewall is terminating TLS connection, the certificates must match |
fullchain-cert.pem
|
LISTEN_SSL_KEY
|
Required if LISTEN_NO_TLS is not specified. The name of the private key file that the API Firewall instance uses for secure connections. The key must match the certificate chain. The file must be in PEM format, and it must be present in the file system of the API Firewall container. |
firewall-key.pem
|
LISTEN_NO_TLS
|
Use HTTP connections to API Firewall. By default, the listener interface of API Firewall only accepts HTTPS connections, and you must specify the variables It is enough for this variable just to be present in your API Firewall configuration to change the behavior of API Firewall. The variable does not need a specific value, but deployment fails if you leave he value empty. If you have the variable
To switch back to HTTPS, you must completely remove the variable If HTTP connections are used, the TLS setup is disregarded and you do not need to specify For more details, see Switch API Firewall to use HTTP connections. |
LISTEN_NO_TLS=ON , LISTEN_NO_TLS=TRUE , LISTEN_NO_TLS=1 |
HTTPS_PROXY
|
Defines the address of the proxy server, if the connection from API Firewall instance to 42Crunch Platform must go through a HTTPS proxy. For more details, see Set API Firewall connect to the platform through a HTTPS proxy. | https://myproxy.acme.com
|
PRESERVE_HOST
|
Defines if the API Firewall instance passes the
|
Off
|
LOG_LEVEL
|
The level of detail in the runtime logs of the protected API and its virtual host ( API Firewall supports the standard Apache log levels. We recommend using the values For more details on the log levels, see LogLevel Directive in Apache documentation. |
warn
|
ERROR_LOG_LEVEL
|
The level of detail in the loading and initialization logs of the API Firewall instance ( API Firewall supports the standard Apache log levels. We recommend using the values For more details on the log levels, see LogLevel Directive in Apache documentation. |
warn
|