0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-03 23:09:17 -05:00

Merge pull request #529 from verdaccio/fix-525

docs(config): add http proxy configuration
This commit is contained in:
Juan Picado @jotadeveloper 2018-01-24 22:09:00 +01:00 committed by GitHub
commit 94d47ee149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,28 @@ https:
ca: path/to/server.pem 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 ### 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). Enable notifications to three party tools is fairly easy via web hooks. For more information about this section read the [notifications page](notifications.md).