mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
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:
parent
594cd0263e
commit
78f9d431bc
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
12
readme.md
12
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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user