easyengine
easyengine copied to clipboard
Update client_max_body_size in latest version of easy engine has no effect.
I can't find any way to reliably update the max upload size for wordpress using the latest version of easy engine.
Tried the same stuff as mentioned here: https://github.com/EasyEngine/easyengine/discussions/1630
But after modifying custom.ini for php and user.conf for nginx, I still get 413 (Request entity too large).
After modifying user.conf for nginx and reloading the site I get the error:
Reloading nginx
2023/05/08 12:47:07 [emerg] 19#19: "client_max_body_size" directive is duplicate in /usr/local/openresty/nginx/conf/custom/user.conf:2
nginx: [emerg] "client_max_body_size" directive is duplicate in /usr/local/openresty/nginx/conf/custom/user.conf:2
nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test failed
This is hard for now, for big file try to use terminal.