add gzip/zstd compression and Redis caching for Nextcloud performance
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
}
|
||||
|
||||
nextcloud.t-gstone.de {
|
||||
encode zstd gzip
|
||||
reverse_proxy nextcloud:80
|
||||
|
||||
header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
|
||||
@@ -13,4 +13,9 @@ php occ db:add-missing-indices
|
||||
echo "==> Post-installation: running MIME type migrations..."
|
||||
php occ maintenance:repair --include-expensive
|
||||
|
||||
echo "==> Post-installation: configuring Redis caching and file locking..."
|
||||
php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu"
|
||||
php occ config:system:set memcache.distributed --value="\\OC\\Memcache\\Redis"
|
||||
php occ config:system:set memcache.locking --value="\\OC\\Memcache\\Redis"
|
||||
|
||||
echo "==> Post-installation: done."
|
||||
|
||||
Reference in New Issue
Block a user