问题描述
docker-compose 通过 docker 部署 Harbor: enter image description here
Nginx 配置:
upstream harbor {
server 192.168.xxx.xxx:8081;
}
server{
listen 80;
server_name localhost;
location /harbor/ {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_pass http://harbor;
index index.html index.htm;
}
}
无法访问浏览器网址:
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)