documentation/infra/tomcat.md

30 lines
581 B
Markdown

# Tomcat
Installer Tomcat :
```
apt-get install tomcat9
```
Installer le connecteur Apache2/Tomcat9 :
```
apt-get install libapache2-mod-jk
```
Configurer le connecteur :
```
TODO
```
Activer AJP dans Tomcat :
```
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector protocol="AJP/1.3" address="::1" port="8009" redirectPort="8443" secretRequired="false" URIEncoding="UTF-8" />
```
Activer mod-jk dans la configuration web :
```
#
JkMount /* ajp13_worker
</VirtualHost>
```