2021-03-06 12:56:45 -05:00
|
|
|
# Nginx Relative Path with Verdaccio 5
|
2020-10-31 03:40:37 -05:00
|
|
|
|
|
|
|
This example runs two verdaccio versions:
|
|
|
|
|
2021-03-06 12:56:45 -05:00
|
|
|
- Running `verdaccio:5.x` http://localhost/verdaccio/
|
2020-10-31 03:40:37 -05:00
|
|
|
|
|
|
|
Note: we should add more sort of configurations here.
|
|
|
|
|
|
|
|
**Nginx HTTP Example**
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker-compose up --build --force-recreate
|
|
|
|
```
|
|
|
|
|
|
|
|
open the browser
|
|
|
|
|
|
|
|
```
|
2021-03-06 12:56:45 -05:00
|
|
|
http://localhost/relative_path/
|
2020-10-31 03:40:37 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
**Nginx SSL Example**
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker-compose -f docker-compose_ssl.yml up --build --force-recreate
|
|
|
|
```
|
|
|
|
|
|
|
|
open the browser
|
|
|
|
|
|
|
|
```
|
|
|
|
https://localhost/verdaccio/
|
|
|
|
```
|