这样不是成功运行了吗?怎么我还是521了?
解决
上传的最大附件文件大小。必须在 nginx (client_max_body_size) / apache 或代理中配置此设置。
在app.xml中新增
params:
upload_size: 1024k/1024m
书写使用kb/mb会出现以下错误,以致于访问不了
nginx: [emerg] "client_max_body_size" directive invalid value in /etc/nginx/conf.d/discourse.conf:112