You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
When running Smart ID Self-Service behind a load balancer or proxy server, some products, such as Apache Web Server or F5, require a custom path in the web application endpoint.
This article describes how to configure Smart ID Self-Service in docker under a custom path (/self_service) for the scenario mentioned above.
Configure context path in Docker-compose.yml
- Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/docker-compose.yml.
Add `-Dspring.jmx.enabled=false` to CATALINA_OPTS.
- CATALINA_OPTS=-Djdk.tls.ephemeralDHKeySize=2048 -Dspring.jmx.enabled=false -Xmx512m
Example: Context path in server.xml
- Open this file for editing: <SMARTIDHOME>/docker/compose/config/idm-tomcat-server.xml.
Add `<Context path="/self_service" docBase="ROOT" />` to the bottom of this file.