diff --git a/docs/setup_own_server.md b/docs/setup_own_server.md index 9fb07eb..fcdbafc 100644 --- a/docs/setup_own_server.md +++ b/docs/setup_own_server.md @@ -10,9 +10,11 @@ But some additional configurations are required in `local.ini` to use from Self- ``` [couchdb] single_node=true +max_document_size = 50000000 [chttpd] require_valid_user = true +max_http_request_size = 4294967296 [chttpd_auth] require_valid_user = true @@ -94,4 +96,4 @@ Using Caddy is a handy way to serve the server with SSL automatically. I have published [docker-compose.yml and ini files](https://github.com/vrtmrz/self-hosted-livesync-server) that launches Caddy and CouchDB at once. Please try it out. -And, be sure to check the server log and be careful of malicious access. \ No newline at end of file +And, be sure to check the server log and be careful of malicious access. diff --git a/docs/setup_own_server_cn.md b/docs/setup_own_server_cn.md index 3c0144d..9a9542e 100644 --- a/docs/setup_own_server_cn.md +++ b/docs/setup_own_server_cn.md @@ -11,9 +11,11 @@ ``` [couchdb] single_node=true +max_document_size = 50000000 [chttpd] require_valid_user = true +max_http_request_size = 4294967296 [chttpd_auth] require_valid_user = true @@ -92,4 +94,4 @@ Note: 不推荐将 CouchDB 挂载到根目录 提供了 [docker-compose.yml 和 ini 文件](https://github.com/vrtmrz/self-hosted-livesync-server) 可以同时启动 Caddy 和 CouchDB。 -注意检查服务器日志,当心恶意访问。 \ No newline at end of file +注意检查服务器日志,当心恶意访问。