mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
Establish preliminary structure for documentation
This commit is contained in:
36
docs/en/configuration/apache/apache-mod_jk.md
Normal file
36
docs/en/configuration/apache/apache-mod_jk.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: SCM-Server and Apache mod\_jk
|
||||
---
|
||||
|
||||
### Apache Configuration
|
||||
```apache
|
||||
JkWorkersFile /etc/apache2/jkworkers.properties
|
||||
JkLogFile /var/log/apache2/mod_jk.log
|
||||
JkLogLevel info
|
||||
|
||||
JkMount /scm* worker1
|
||||
```
|
||||
|
||||
### JK Workers File (jkworkers.properties)
|
||||
```ini
|
||||
worker.list=worker1
|
||||
worker.worker1.type=ajp13
|
||||
worker.worker1.host=localhost
|
||||
worker.worker1.port=8009
|
||||
worker.worker1.lbfactor=50
|
||||
worker.worker1.cachesize=10
|
||||
worker.worker1.cache_timeout=600
|
||||
worker.worker1.socket_keepalive=1
|
||||
```
|
||||
|
||||
### SCM-Server conf/server-config.xml
|
||||
Uncomment the following lines:
|
||||
```xml
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.ajp.Ajp13SocketConnector">
|
||||
<Set name="port">8009</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
```
|
||||
Reference in New Issue
Block a user