0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

docs(config): add http proxy configuration

This commit is contained in:
Juan Picado @jotadeveloper 2018-01-24 21:47:23 +01:00
parent b30a515622
commit 21621c712b
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -144,6 +144,28 @@ https:
ca: path/to/server.pem
```
### Proxy
Proxies are special-purpose HTTP servers designed to transfer data from remote servers to local clients.
#### http_proxy and https_proxy
If you have a proxy in your network you can set a `X-Forwarded-For` header using the following properties.
```yaml
http_proxy: http://something.local/
https_proxy: https://something.local/
```
#### no_proxy
This variable should contain a comma-separated list of domain extensions proxy should not be used for.
```yaml
http_proxy: http://something.local/
https_proxy: https://something.local/
```
### Notifications
Enable notifications to three party tools is fairly easy via web hooks. For more information about this section read the [notifications page](notifications.md).