Harbor使用外部代理問題記錄


修改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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM