mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
fix port issue
This commit is contained in:
parent
33aca89a37
commit
ce0b22633e
@ -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".
|
||||
|
Loading…
Reference in New Issue
Block a user