Compare commits
2 Commits
6bdd8e918c
...
8096d8985b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8096d8985b | ||
|
|
8462b10e3b |
@@ -1,6 +1,10 @@
|
|||||||
# Configuration pour reverse proxy Traefik
|
# Configuration pour reverse proxy Traefik
|
||||||
# Récupération de l'IP réelle du client via X-Forwarded-For
|
# Récupération de l'IP réelle du client via X-Forwarded-For
|
||||||
ServerName cloud.agence66.fr
|
ServerName cloud.agence66.fr
|
||||||
|
|
||||||
|
# Autoriser les caractères spéciaux encodés dans les noms de fichiers
|
||||||
|
AllowEncodedSlashes NoDecode
|
||||||
|
|
||||||
RemoteIPHeader X-Forwarded-For
|
RemoteIPHeader X-Forwarded-For
|
||||||
RemoteIPTrustedProxy 172.16.0.0/12
|
RemoteIPTrustedProxy 172.16.0.0/12
|
||||||
RemoteIPTrustedProxy 10.0.0.0/8
|
RemoteIPTrustedProxy 10.0.0.0/8
|
||||||
@@ -15,6 +19,15 @@ 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
|
||||||
|
|||||||
@@ -13,3 +13,6 @@ binlog_format = ROW
|
|||||||
|
|
||||||
# Connections
|
# Connections
|
||||||
max_connections = 200
|
max_connections = 200
|
||||||
|
|
||||||
|
# Gros fichiers - augmenter la taille max des paquets
|
||||||
|
max_allowed_packet = 1G
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ services:
|
|||||||
- PHP_MEMORY_LIMIT=4096M
|
- PHP_MEMORY_LIMIT=4096M
|
||||||
- PHP_UPLOAD_MAX_FILESIZE=10G
|
- PHP_UPLOAD_MAX_FILESIZE=10G
|
||||||
- PHP_POST_MAX_SIZE=10G
|
- PHP_POST_MAX_SIZE=10G
|
||||||
- PHP_MAX_EXECUTION_TIME=1800
|
- PHP_MAX_EXECUTION_TIME=7200
|
||||||
- PHP_MAX_INPUT_TIME=1800
|
- PHP_MAX_INPUT_TIME=7200
|
||||||
# - PHP_UPLOAD_MAX_FILESIZE=1024G
|
# - PHP_UPLOAD_MAX_FILESIZE=1024G
|
||||||
# - PHP_POST_MAX_SIZE=1024G
|
# - PHP_POST_MAX_SIZE=1024G
|
||||||
# - PHP_MAX_EXECUTION_TIME=86400
|
# - PHP_MAX_EXECUTION_TIME=86400
|
||||||
@@ -75,7 +75,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: redis-server --requirepass ${REDIS_HOST_PASSWORD} --maxmemory 512mb --maxmemory-policy allkeys-lru
|
command: redis-server --requirepass ${REDIS_HOST_PASSWORD} --maxmemory 2gb --maxmemory-policy allkeys-lru
|
||||||
networks:
|
networks:
|
||||||
- nextcloud-net
|
- nextcloud-net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user