Skip to content

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

@daghendrik

Description

@daghendrik

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: #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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions