From 15a7bed4482f308db589ff07d40f4d9f4ce604fe Mon Sep 17 00:00:00 2001 From: Ziyuan Han Date: Wed, 23 Nov 2022 14:11:44 +0800 Subject: [PATCH 1/2] Fix check warning --- docs/setup_own_server_cn.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +注意检查服务器日志,当心恶意访问。 From 657f12f966cf081072336e13f318ce14a96ef797 Mon Sep 17 00:00:00 2001 From: Ziyuan Han Date: Wed, 23 Nov 2022 14:12:50 +0800 Subject: [PATCH 2/2] Fix check warning --- docs/setup_own_server.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.