docs: Update configuration documentation and disable compression algorithms

Disable Gzip and Brotli compression algorithms in config.json and update readme.md accordingly
This commit is contained in:
wood chen 2024-10-30 11:18:13 +08:00
parent 594cd0263e
commit 78f9d431bc
2 changed files with 2 additions and 14 deletions

View File

@ -5,11 +5,11 @@
}, },
"Compression": { "Compression": {
"Gzip": { "Gzip": {
"Enabled": true, "Enabled": false,
"Level": 6 "Level": 6
}, },
"Brotli": { "Brotli": {
"Enabled": true, "Enabled": false,
"Level": 4 "Level": 4
} }
} }

View File

@ -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"
}
}
```