Info |
---|
This article is valid for Smart ID 21.04 and later. |
This article describes how to enable the AJP Connector
...
Info | ||
---|---|---|
| ||
In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup. |
The Apache JServ Protocol (AJP) can be used via the AJP connector, see Apache Tomcat 9 Configuration Reference (9.0.40) - The AJP Connector.
- Enable the AJP connector:
- Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/config/tomcat-server.xml.
Enable the AJP Connector by removing the comments <!-- and – > and make the necessary settings to fit the AJP.
Code Block language xml <!-- <Connector protocol="AJP/1.3" address="127.0.0.1" port="8009" secretRequired="true" secret="<YOURSECRETHERE>" tcpNoDelay="true" redirectPort="8443" /> --> <!-- You should set jvmRoute to support load-balancing via AJP ie : <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
- Enable the port mapping:
- Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/docker-compose.yml.
Enable port mapping by removing "#". If you want to use another external port for Self-Service, change
SELFSERVICE_PORT_AJP
in <SMARTIDHOME>/docker/compose/smartid.env.Code Block # - "${SELFSERVICE_PORT_AJP}:8009"
...
This article is valid for Smart ID 21.04 and later.
Related information
...