Go inside the running container with:

docker exec -ti mayan-edms /bin/bash

This executes a bash shell inside the container. The command prompt should 
display something like this:

root@9210b0c7f945:/# 

Now do a:

cat /etc/nginx/sites-enabled/mayan-edms

You should see the file contents.

There are no editors included in the container to cut size. To edit the 
file you need to install one using:

apt-get update && apt-get install vim -y

Afterwards use vi /etc/nginx/site-enabled/mayan-edms

Enter insert mode pressing the key <a>.
Make the changes.
Increase client_max_body_size (It's set at 500M = 500 megabytes).
Increase proxy_read_timeout (maximum time an upload can take before it 
timesout. It's set at 600s = 600 seconds = 10 minutes).
Leave insert mode pressing <ESC>
Save pressing <:> and then <w>
Exit the editor using <:> and then <q>

Restart the NGINX server using:

supervisorctl restart nginx

I'll check if NGINX supports environment variables, and make these settings 
configurable at runtime without having to edit this file.
This is not directly related to Mayan and therefore lower in the priority 
schedule, so it can take a while.

On Wednesday, June 28, 2017 at 2:16:36 PM UTC-4, David Kornahrens wrote:
>
> Roberto,
> Apologize for asking this.  Feels like I'm beating a dead horse, but I 
> used the docker install method and I cannot even find the NGINX folder at 
> all.
>
> I have navigated to /etc with no NGINX folder available.  
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to