fix port issue

This commit is contained in:
Tan Jiang 2017-04-17 19:02:05 +08:00
parent 33aca89a37
commit ce0b22633e

View File

@ -245,7 +245,7 @@ hostname = 192.168.0.2:8888
### For HTTPS protocol
1.Enable HTTPS in Harbor by following this [guide](https://github.com/vmware/harbor/blob/master/docs/configure_https.md).
2.Modify docker-compose.yml
Replace the first "443" to a customized port, e.g. 4443:443.
Replace the first "443" to a customized port, e.g. 8888:443.
```
proxy:
@ -255,7 +255,7 @@ proxy:
- ./config/nginx:/etc/nginx
ports:
- 80:80
- 4443:443
- 8888:443
depends_on:
- mysql
- registry
@ -297,4 +297,4 @@ If a container is not in **UP** state, check the log file of that container in d
```
proxy_set_header X-Forwarded-Proto $scheme;
```
and re-deploy Harbor refer to the previous section "Managing Harbor's lifecycle".
and re-deploy Harbor refer to the previous section "Managing Harbor's lifecycle".