mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-09-23 20:52:16 +08:00
Update README.md
This commit is contained in:
@@ -8,7 +8,7 @@ files servered by nginx (https with basic auth) => mirrors (nginx proxy) =>
|
|||||||
index2list.py(copy generated links) => webui-aria2(local aria2c) => HDD/SSD
|
index2list.py(copy generated links) => webui-aria2(local aria2c) => HDD/SSD
|
||||||
```
|
```
|
||||||
|
|
||||||
python requests SNI support:
|
**python requests SNI support:**
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install pyOpenSSL
|
pip install pyOpenSSL
|
||||||
@@ -16,3 +16,13 @@ pip install ndg-httpsclient
|
|||||||
pip install pyasn1
|
pip install pyasn1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**nginx proxy config exmaple**
|
||||||
|
|
||||||
|
I suggest you set `proxy_buffering` `off`, otherwise mirrors will use huge bandwidth to cache files.
|
||||||
|
|
||||||
|
```
|
||||||
|
location /downloads/ {
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_pass https://www.xxx.com/downloads/;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user