skip to Main Content

I currently cannot the php.ini file within my app which would have been an entry point for making such modification.

has anyone had to do this before?

2

Answers


  1. Chosen as BEST ANSWER

    @all i found a solution that worked for me.

    since I use nginx on my server. I was able to locate the following file

    /home/dokku/${app-name}/nginx.conf
    

    and then In the locate block, i added the following

    locate {
    ...
    
    client_max_body_size 25M
    }
    

    And this increased the max_upload_filesize to 25M.


  2. You can do it via native dokku commands:

    dokku nginx:set <app-name> client-max-body-size 25m

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search