在导入一个10M大小模版的时候报错:Error 400! The CSRF token could not be verified
官方解决办法:https://www.mailwizz.com/kb/the-csrf-token-could-not-be-verified
总结来说就是文件太大了,超过了nginx或者php的配置
php改参数:
upload_max_filesize = 20M
post_max_size = 21M
nginx改参数:
server {
client_max_body_size 20M;
//other lines...
}
If you are hosting multiple sites add it to the http context like so;
http {
client_max_body_size 20M;
//other lines...
}