mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
docs(translation): update translation
docs(translation): update translation
This commit is contained in:
parent
df6978ef68
commit
44d9975416
6 changed files with 137 additions and 5 deletions
|
@ -139,9 +139,31 @@ https:
|
||||||
ca: path/to/server.pem
|
ca: path/to/server.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
### Notificaciones
|
### Proxy
|
||||||
|
|
||||||
Habilitar notificaciones de herramientas a terceros es bastante fácil vía web hooks. Para mas información sobre esta sección lea [página de notificaciones](notifications.md).
|
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).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -139,6 +139,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).
|
||||||
|
|
|
@ -139,6 +139,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).
|
||||||
|
|
|
@ -139,6 +139,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).
|
||||||
|
|
|
@ -139,16 +139,38 @@ https:
|
||||||
ca: path/to/server.pem
|
ca: path/to/server.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
### 通知
|
### Proxy
|
||||||
|
|
||||||
可以通过启用 "通知" 功能来调用第三方工具的 Web Hooks。如需了解更多信息,请阅读文档中的 ["通知" 部分](notifications.md)
|
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).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notify:
|
notify:
|
||||||
method: POST
|
method: POST
|
||||||
headers: [{'Content-Type': 'application/json'}]
|
headers: [{'Content-Type': 'application/json'}]
|
||||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||||
content: '{"color":"green","message":"发布了新的包: * {{ name }}*","notify":true,"message_format":"text"}'
|
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
> For more detailed configuration settings, please [check the source code](https://github.com/verdaccio/verdaccio/tree/master/conf).
|
> For more detailed configuration settings, please [check the source code](https://github.com/verdaccio/verdaccio/tree/master/conf).
|
|
@ -139,6 +139,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).
|
||||||
|
|
Loading…
Add table
Reference in a new issue