mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-23 13:56:48 +00:00
Add socks proxy support (#60)
* Add socks proxy support * Add proxy config to README
This commit is contained in:
@@ -77,6 +77,19 @@ Just some examples
|
||||
|
||||
<img src="https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/screenshot-notifications.png" style="max-width:100%;" alt="Self-hosted web page change monitoring notifications" title="Self-hosted web page change monitoring notifications" />
|
||||
|
||||
### Proxy
|
||||
|
||||
A proxy for ChangeDectection.io can be configured by setting environment variables.
|
||||
|
||||
For example
|
||||
```
|
||||
$ export HTTP_PROXY="socks5h://10.10.1.10:1080"
|
||||
$ export HTTPS_PROXY="socks5h://10.10.1.10:1080"
|
||||
|
||||
# An exclude list (useful for notifcation URLs above) can be specified by following
|
||||
$ export NO_PROXY="localhost,192.168.0.0/24"
|
||||
```
|
||||
For more information see https://docs.python-requests.org/en/master/user/advanced/#proxies
|
||||
|
||||
### Notes
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ flask~= 1.0
|
||||
pytest ~=6.2
|
||||
pytest-flask ~=1.2
|
||||
eventlet>=0.31.0
|
||||
requests ~= 2.15
|
||||
requests[socks] ~= 2.15
|
||||
validators
|
||||
timeago ~=1.0
|
||||
inscriptis ~= 1.1
|
||||
|
||||
Reference in New Issue
Block a user