Nextcloud์ Redis ์ค์ ์ถ๊ฐํ๊ธฐ
ํ์ด์ง ์ ๋ณด
๋ณธ๋ฌธ
์ถ์ฒ:ย https://www.wenyanet.com/opensource/ko/611438cad70fe9016c407f78.html
ย
NextCloud์ config.php ํ์ผ์ ํธ์งํ์ฌ ๋์ ๋ช ๊ฐ์ง ์ต์ ์ ์ถ๊ฐํฉ๋๋ค.
์ฌ๊ธฐ์ Redis์ ์ผ๋ถ ์์ , ๊ฐ์ ๋ฐ ํ์ฑํ๊ฐ ์ ๋ ฅ๋ฉ๋๋ค.
vi config/www/nextcloud/config/config.php
๋ค์ ์ฝํ ์ธ ๋ฅผ ์ถ๊ฐํฉ๋๋ค.
'redis' => ย array ( ย 'host' => 'redis', ย 'port' => 6379, ย 'password' => 'YOU_PASSWORD_REDIS', ย ), 'default_phone_region' => 'KR', 'trashbin_retention_obligation' => '30, 60', 'overwriteprotocol' => 'https', 'maintenance' => false, 'default_language' => 'ko_KR', 'default_locale' => 'ko_KR',
์๋ ๋ด์ฉ์ด ๋ง๋ ๋ฏ
ย 'default_language' => 'ko', ย ย ############ ย ์ธ์ด
ย 'default_locale' => 'ko_KR', ย ย ########## ย ย ์ง์ญ์ค์
ย 'default_phone_region' => 'KR', ย ########## ย ย ์ ๋ฒ
ย 'trusted_proxys' => '172.90.0.1',
ย 'overwriteprotocol' => 'https',
ย 'OVERWRITEHOST' => 'mydomain.com', ย ย ##๋ณธ์ธ ๋๋ฉ์ธ
ย 'overwritecondaddr' => '^172\.90\.0\.1$',
ย 'memcache.distributed' => '\OC\Memcache\Redis',
ย 'memcache.locking' => '\OC\Memcache\Redis',
ย 'redis' => [
ย 'host' => 'redis',
ย 'port' =>6379 ,
ย 'dbindex' => 0,
ย 'password' => '123456',
ย 'timeout' => 1.5,
],
๋ธ๋ผ์ฐ์ ์์ ์
๋ก๋ ์ 10MB ๊ณ ์ ํด์ ๋ฐฉ๋ฒ
occ config:app:set files max_chunk_size --value 524288000
๋๊ธ๋ชฉ๋ก
๋ฑ๋ก๋ ๋๊ธ์ด ์์ต๋๋ค.
