0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

add docs about run behind reverse proxy

- Change word 'proxy' to 'reverse proxy'
This commit is contained in:
Meeeeow 2017-04-19 19:35:25 +08:00
parent ce65cfff23
commit dc8abe99c3

View file

@ -21,8 +21,8 @@ If you want to listen to every external address set the listen directive in the
listen: 0.0.0.0:4873
```
## Run behind proxy with different domain and port
If you run verdaccio behind proxy, you may noticed all resource file served as relaticve path, like `http://127.0.0.1:4873/-/static`, you can resolve this by set `url_prefix`
## Run behind reverse proxy with different domain and port
If you run verdaccio behind reverse proxy, you may noticed all resource file served as relaticve path, like `http://127.0.0.1:4873/-/static`, you can resolve this by set `url_prefix`
```yaml
url_prefix: 'https://your-domain:8888'
# or