From 93b5e4981e5607b9f8751ec75dfe65ce4c08cc7a Mon Sep 17 00:00:00 2001 From: dobefore <1432338032@qq.com> Date: Sat, 17 Jul 2021 19:55:55 +0800 Subject: [PATCH] update_readme --- README.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0324c0a..a6fc814 100644 --- a/README.md +++ b/README.md @@ -64,15 +64,32 @@ Installing and listening on port `27702` may look like: ``` - server { - listen 27701; - server_name default; + worker_processes 1; - location / { - proxy_http_version 1.0; - proxy_pass http://localhost:27702/; - } - } +events { +worker_connections 1024; +} + +http { +include mime.types; +default_type application/octet-stream; +sendfile on; + +keepalive_timeout 65; +client_max_body_size 2048m; + +server { +listen 27701; +server_name default; + + +location / { +proxy_http_version 1.0; +proxy_pass http://127.0.0.1:27702/; +} +} + +} ``` 5. Run ankisyncd: