EasyEngine / EasyEngine/easyengine

Update client_max_body_size in latest version of easy engine has no effect.

Open
#1,789 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.2k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.