mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
32 lines
488 B
Markdown
32 lines
488 B
Markdown
|
# Nginx Relative Path with Verdaccio 6
|
||
|
|
||
|
This example runs two verdaccio versions:
|
||
|
|
||
|
- Running `verdaccio:6.x` http://localhost/verdaccio/
|
||
|
|
||
|
Note: we should add more sort of configurations here.
|
||
|
|
||
|
**Nginx HTTP Example**
|
||
|
|
||
|
```bash
|
||
|
docker-compose up --build --force-recreate
|
||
|
```
|
||
|
|
||
|
open the browser
|
||
|
|
||
|
```
|
||
|
http://localhost/verdaccio/
|
||
|
```
|
||
|
|
||
|
**Nginx SSL Example**
|
||
|
|
||
|
```bash
|
||
|
docker-compose -f docker-compose_ssl.yml up --build --force-recreate
|
||
|
```
|
||
|
|
||
|
open the browser
|
||
|
|
||
|
```
|
||
|
https://localhost/verdaccio/
|
||
|
```
|