修改harbor.yml配置文件,取消external_url注释,设置为:

external_url: https://harbor.host.com
然后,docker-compose down停止所有服务,删除当前配置目录:rm -rf ./common/config下配置清单,重新执行install.sh生成配置,即可解决

 

配置大概解释:如果使用外部代理就要启动该项
# Uncomment external_url if you want to enable external proxy
# And when it enabled the hostname will no longer used

注:external_url 指定访问协议方式,如果nginx配置了http重定向https,则此处应填写https

相关文章:

  • 2021-09-08
  • 2021-12-23
  • 2021-04-12
  • 2021-12-08
  • 2021-11-18
  • 2021-04-01
  • 2022-01-22
  • 2022-02-21
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-06-16
  • 2021-11-23
  • 2022-01-12
相关资源
相似解决方案