apache2+php环境下nextcloud报413 Request Entity Too Large

之前一直好好的nextcloud突然抽风,确认了apache和php的文件大小限制没问题,运行时间也没问题,找了很久有人提到去看apache的error_log才找到原因:

ModSecurity: Request body (Content-Length) is larger than the configured limit (13107200).

那就干掉ModSecurity吧,反正是内网环境