osp-front-end¶
Overview¶
The front-end module is responsible for serving static web content, to promote HTTP to HTTPS transport and proxy calls to other modules.
By default the stack is hosted via a self-generated HTTPS certificate pointing to hostname configured on the stack.
List of configuration files¶
Note
The module osp-front-end
has no configuration file
Environnement variables¶
Environnement variables can be used to fine tune some parameters of the module, for generic information see the swarm page.
Variable name |
Default value |
Usage |
---|---|---|
NGINX_WORKER_PROCESS |
4 |
Process number given to NGINX to serve web content |
NGINX_WORKER_CONNECTION |
1024 |
The port on which modules can fetch the configuration |
SSL_CERTIFICATE |
${{auto-generated-ssl-certificate}} |
Swarm secret SSL certificate file path |
SSL_CERTIFICATE_KEY |
${{auto-generated-ssl-certificate-key}} |
Swarm secret SSL certificate key file path |
SSL_ADDITIONAL_PROTOCOLS |
Additional SSL protocols to TLSv1.3 (valid value include SSLv2, SSLv3, TLSv1, TLSv1.1 and TLSv1.2) |
|
APPLICATION_EXTERNAL_PORT |
5000 |
External port exposed by the stack |
KEYCLOAK_EXTERNAL_URL |
http://osp-keycloak:8080/auth |
External Keycloak (in swarm or hosted) IP address or host to forward proxy calls to |
KEYCLOAK_URL |
/auth |
Keycloak prefix to use on proxy to forward calls to external Keycloak |
KEYCLOAK_REALM |
OnSphere |
Keycloak realm to use |
KEYCLOAK_CLIENT_ID |
dashboard |
Keycloak client ID the front-end will use to announce itself |