V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
longmeier90
V2EX  ›  问与答

我打包了一个镜像,在容器里 curl apollo 的地址时候一直失败。

  •  
  •   longmeier90 · 259 天前 · 494 次点击
    这是一个创建于 259 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我在容器里 curl www.baidu.com 就可以。
    curl 我的 apollo 域名就一直卡死


    # curl https://xxx.xxx.com -vvv
    * Rebuilt URL to: https://xxx.xxx.com/
    * Trying x.x.x.x...
    * TCP_NODELAY set
    * Connected to xxx.xxx.com (x.x.x.x) port 443 (#0)
    * ALPN, offering h2
    * ALPN, offering http/1.1
    * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
    * successfully set certificate verify locations:
    * CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs
    * TLSv1.2 (OUT), TLS header, Certificate Status (22):
    * TLSv1.2 (OUT), TLS handshake, Client hello (1):
    longmeier90
        1
    longmeier90  
    OP
       259 天前
    找到问题了 Nginx 配置问题,加一个 http_prox v1.1 就行了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2676 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 10:39 · PVG 18:39 · LAX 03:39 · JFK 06:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.