longmeier90
V2EX  ›  问与答

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

  •  
  •   longmeier90 · Aug 11, 2023 · 1160 views
    This topic created in 1010 days ago, the information mentioned may be changed or developed.
    我在容器里 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
       Aug 12, 2023
    找到问题了 Nginx 配置问题,加一个 http_prox v1.1 就行了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   956 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 22:51 · PVG 06:51 · LAX 15:51 · JFK 18:51
    ♥ Do have faith in what you're doing.