Browse Source
Merge pull request #77 from YunoHost-Apps/enh_redis_locking
Enable Redis file locking
pull/84/head
JimboJoe
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
53 additions and
40 deletions
-
conf/config.json
-
conf/nginx.conf
-
scripts/_common.sh
|
|
@ -7,7 +7,15 @@ |
|
|
], |
|
|
], |
|
|
"updatechecker": false, |
|
|
"updatechecker": false, |
|
|
"memcache.local": "\\OC\\Memcache\\APCu", |
|
|
"memcache.local": "\\OC\\Memcache\\APCu", |
|
|
"integrity.check.disabled": true |
|
|
|
|
|
|
|
|
"integrity.check.disabled": true, |
|
|
|
|
|
"filelocking.enabled": true, |
|
|
|
|
|
"memcache.locking": "\\OC\\Memcache\\Redis", |
|
|
|
|
|
"redis": { |
|
|
|
|
|
"host": "localhost", |
|
|
|
|
|
"port": "6379", |
|
|
|
|
|
"timeout": "0.0", |
|
|
|
|
|
"password": "" |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
"apps": { |
|
|
"apps": { |
|
|
"user_ldap": { |
|
|
"user_ldap": { |
|
|
|
|
|
@ -24,6 +24,11 @@ location ^~ __PATH__ { |
|
|
client_max_body_size 10G; |
|
|
client_max_body_size 10G; |
|
|
fastcgi_buffers 64 4K; |
|
|
fastcgi_buffers 64 4K; |
|
|
|
|
|
|
|
|
|
|
|
# Extend timeouts |
|
|
|
|
|
client_body_timeout 60m; |
|
|
|
|
|
proxy_read_timeout 60m; |
|
|
|
|
|
fastcgi_read_timeout 60m; |
|
|
|
|
|
|
|
|
# Disable gzip to avoid the removal of the ETag header |
|
|
# Disable gzip to avoid the removal of the ETag header |
|
|
gzip off; |
|
|
gzip off; |
|
|
|
|
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
# COMMON VARIABLES |
|
|
# COMMON VARIABLES |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
|
|
|
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-imagick acl tar smbclient" |
|
|
|
|
|
|
|
|
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-imagick imagemagick acl tar smbclient" |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# COMMON HELPERS |
|
|
# COMMON HELPERS |
|
|
|