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:
parent
ce65cfff23
commit
dc8abe99c3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue