How can I change the docker jwilder/nginx-proxy upload limits? How can I change the docker jwilder/nginx-proxy upload limits? wordpress wordpress

How can I change the docker jwilder/nginx-proxy upload limits?


After searching, I create a file outside the container called client_max_body_size.conf with the contents client_max_body_size 25m; (or whatever) and bind mount it into your nginx-proxy container:

docker run -d --name nginx-proxy -v /var/run/docker.sock:/tmp/docker.sock \    -v $ <path>/client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro \    -p 80:80 jwilder/nginx-proxy