jsjcjsjc
V2EX  ›  问与答

leanote 自己架设的服务器不能同步大于 3m 的附件是什么情况?

  •  
  •   jsjcjsjc · Oct 6, 2017 · 2875 views
    This topic created in 3144 days ago, the information mentioned may be changed or developed.

    架设完之后,其他测试我看都没问题。。就是稍微大一点的附件就不能同步,提示网络有无问题,删除附件就可以了~~

    4 replies    2017-10-08 15:02:43 +08:00
    orzfly
        1
    orzfly  
       Oct 6, 2017
    检查 nginx client_max_body_size
    orzfly
        2
    orzfly  
       Oct 6, 2017
    嘛,其实我也不知道,甚至不知道你用没用 nginx,也不知道你是怎么部署的,但是看到这种问题我会先去检查 nginx 的这个配置(
    jsjcjsjc
        3
    jsjcjsjc  
    OP
       Oct 6, 2017
    @orzfly 谢谢啊
    原来 nginx 默认没有标注,是 1m。。。。
    反正加了 nginx client_max_body_size 就可以了
    jsjcjsjc
        4
    jsjcjsjc  
    OP
       Oct 8, 2017
    @orzfly 结果发现 leanote 程序限制 10m~~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 09:35 · PVG 17:35 · LAX 02:35 · JFK 05:35
    ♥ Do have faith in what you're doing.