2021-03-06 18:56:45 +01:00
|
|
|
# Nginx Relative Path with Verdaccio 5
|
2020-10-31 09:40:37 +01:00
|
|
|
|
|
|
|
This example runs two verdaccio versions:
|
|
|
|
|
2021-03-06 18:56:45 +01:00
|
|
|
- Running `verdaccio:5.x` http://localhost/verdaccio/
|
2020-10-31 09:40:37 +01: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 18:56:45 +01:00
|
|
|
http://localhost/relative_path/
|
2020-10-31 09:40:37 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
**Nginx SSL Example**
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker-compose -f docker-compose_ssl.yml up --build --force-recreate
|
|
|
|
```
|
|
|
|
|
|
|
|
open the browser
|
|
|
|
|
|
|
|
```
|
|
|
|
https://localhost/verdaccio/
|
|
|
|
```
|