2

推送到 Sonatype Nexus 3 上的托管 Docker 存储库时,我得到 504 GATEWAY_TIMEOUT。我正在尝试推送一个多 GB 层:

    451c9f0946ad: Image already exists
    97444a62d0da: Image already exists
    3acdb070c7f5: Image already exists
    78362681bd49: Image already exists
    5890a244c36a: Pushing [==================================================>] 2.403 GB
    Received unexpected HTTP status: 504 GATEWAY_TIMEOUT

大约 4 到 4.5 分钟后似乎出错了。我看不到调整 Nexus 端超时的方法。有任何想法吗?

4

1 回答 1

3

您将从在 Nexus 前面运行的反向代理收到错误 504,而不是来自 Nexus 本身。你有 nginx 或 Apache 或类似的运行在服务器前面吗?如果是这样,请检查那里的配置。

于 2016-04-22T16:05:16.073 回答