mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 14:40:23 +08:00
docs: proxy
This commit is contained in:
@@ -283,12 +283,16 @@ Use environment variables is recommended to avoid conflicts during upgrade.
|
||||
|
||||
`LOGGER_LEVEL`: specifies the maximum [level](https://github.com/winstonjs/winston#logging-levels) of messages to the console and log file, default to `info`
|
||||
|
||||
`PROXY_PROTOCOL`: Using proxy of such protocol, Supports socks, socks4,socks4a,socks5,socks5h
|
||||
`PROXY_PROTOCOL`: Using proxy, Supports socks, http, https
|
||||
|
||||
`PROXY_HOST`: host of the proxy
|
||||
`PROXY_HOST`: host or IP of the proxy
|
||||
|
||||
`PROXY_PORT`: port of the proxy
|
||||
|
||||
`PROXY_AUTH`: credentials to authenticate a user agent to proxy server, `Proxy-Authorization: Basic ${process.env.PROXY_AUTH}`
|
||||
|
||||
`PROXY_URL_REGEX`: regex for url of enabling proxy, default to `.*`
|
||||
|
||||
### User Authentication
|
||||
|
||||
Routes in `protected_route.js` will be protected using HTTP Basic Authentication.
|
||||
|
||||
Reference in New Issue
Block a user