-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull image Error response from daemon: error parsing HTTP 404 response body: #11995
Comments
好像只能本机Nginx能作正常反向代理,其他服务器的nginx不能正常反向代理 |
尝试修改为这样呢? 另外一台机的nginx配置:
|
依然不行,公司的网络方式是NAT端口转发方式,将内网IP转发出去~! |
location / {
|
I think you should also set the hostname in harbor.yml to your external name docker-harbor.xxx.com |
在docker-compose.yml 配置里面,我所使用的版本有点旧,是1.6.2,我尝试修改了,依然不生正常使用 external: http://docker-harbor.xxx.comexternal_url: http://docker-harbor.xxx.com |
尝试修改了几次配置,依然无法解决。 Error response from daemon: error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "\r\n<title>404 Not Found</title>\r\n<body bgcolor="white">\r\n 404 Not Found\r\nnginx/1.14.0\r\n\r\n\r\n" |
你可以先在社区的微信群中问问,我记得好像以前有人搭建过nginx的反向代理 |
从哪里可以进社区的微信群呢?? |
Is there any error in your company's Nginx? And I find that the external URL you configured is HTTP, But docker pull/push needs a https connection. |
我们push的时候没有使用https的,在使用过程中外面有一层nginx,docker pull/push不成功。 |
仓库同时开了http https解决了! |
解决了吗?我也遇到这个问题 |
公司内多部署了一套harbor.v1.6.2 ,通过另一台服务器的nginx反向代理出去,浏览器可以正常登录.在linux命令行里面也是可以正常登录,但push&pull 一直报错,注:没有使用https
和harbor同台机的Nginx代理又能正常使用,麻烦看一下,谢谢!
和harbor同一台机的nginx配置:
===========================
upstream harbor_port {
server 192.168.1.23:10080;
}
server {
listen 80;
server_name docker-harbor.xx.com;
}
另外一台机的nginx配置:
server {
listen 80;
server_name docker-harbor.xxx.com;
location / {
The text was updated successfully, but these errors were encountered: