Compare commits
2 Commits
8096d8985b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc1cac8e5a | ||
|
|
5d610b9177 |
16
apache/mpm_prefork.conf
Normal file
16
apache/mpm_prefork.conf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# prefork MPM
|
||||||
|
# StartServers: number of server processes to start
|
||||||
|
# MinSpareServers: minimum number of server processes which are kept spare
|
||||||
|
# MaxSpareServers: maximum number of server processes which are kept spare
|
||||||
|
# ServerLimit: maximum value for MaxRequestWorkers (must be set before MaxRequestWorkers)
|
||||||
|
# MaxRequestWorkers: maximum number of server processes allowed to start
|
||||||
|
# MaxConnectionsPerChild: maximum number of requests a server process serves
|
||||||
|
|
||||||
|
<IfModule mpm_prefork_module>
|
||||||
|
ServerLimit 400
|
||||||
|
StartServers 10
|
||||||
|
MinSpareServers 10
|
||||||
|
MaxSpareServers 20
|
||||||
|
MaxRequestWorkers 400
|
||||||
|
MaxConnectionsPerChild 1000
|
||||||
|
</IfModule>
|
||||||
@@ -19,15 +19,6 @@ KeepAlive On
|
|||||||
KeepAliveTimeout 300
|
KeepAliveTimeout 300
|
||||||
MaxKeepAliveRequests 200
|
MaxKeepAliveRequests 200
|
||||||
|
|
||||||
# Configuration MPM Prefork - Augmentation des workers
|
|
||||||
<IfModule mpm_prefork_module>
|
|
||||||
StartServers 10
|
|
||||||
MinSpareServers 10
|
|
||||||
MaxSpareServers 20
|
|
||||||
MaxRequestWorkers 400
|
|
||||||
MaxConnectionsPerChild 1000
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
<Directory /var/www/html/>
|
<Directory /var/www/html/>
|
||||||
Options FollowSymLinks MultiViews
|
Options FollowSymLinks MultiViews
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/www/html
|
- ./data:/var/www/html
|
||||||
- ./apache/nextcloud.conf:/etc/apache2/conf-enabled/nextcloud.conf:ro
|
- ./apache/nextcloud.conf:/etc/apache2/conf-enabled/nextcloud.conf:ro
|
||||||
|
- ./apache/mpm_prefork.conf:/etc/apache2/mods-available/mpm_prefork.conf:ro
|
||||||
- ./logs/apache:/var/log/apache2
|
- ./logs/apache:/var/log/apache2
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
|
|||||||
Reference in New Issue
Block a user