网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

解决Nextcloud上传文件报413错误

时间:2024-10-15 06:14:35

1、首先打开配置文件vim /etc/nginx/nginx.conf

2、在http{}里面添加下面配置# set client body size to 2M #client_max_body_size 512M;

3、重启nginxsudo systemctl restart nginx这样就可以正常上传小于512M的文件了。

© 小知经验