From 78f9d431bc55c7663e5fef23b61e10eae2016127 Mon Sep 17 00:00:00 2001 From: wood chen Date: Wed, 30 Oct 2024 11:18:13 +0800 Subject: [PATCH] docs: Update configuration documentation and disable compression algorithms Disable Gzip and Brotli compression algorithms in config.json and update readme.md accordingly --- data/config.json | 4 ++-- readme.md | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/data/config.json b/data/config.json index b4a50d7..a98a944 100644 --- a/data/config.json +++ b/data/config.json @@ -5,11 +5,11 @@ }, "Compression": { "Gzip": { - "Enabled": true, + "Enabled": false, "Level": 6 }, "Brotli": { - "Enabled": true, + "Enabled": false, "Level": 4 } } diff --git a/readme.md b/readme.md index 045d98b..f9a3776 100644 --- a/readme.md +++ b/readme.md @@ -16,17 +16,5 @@ A simple reverse proxy server written in Go. 写的比较潦草, 希望有能力的同学帮忙完善优化一下 -## Configuration - -Create a `config.json` file in the `data` directory: - -```json -{ - "MAP":{ - "/path1": "https://path1.com/path/path/path", - "/path2": "https://path2.com" - } -} -```