Docker Community Forums

Share and learn in the Docker community.

Alerting nginx memory allocation

Hi, I’m very new to Docker and am a bit lost. I am trying to upload a wordpress them and receive an error from ngnix saying that file it too large. I’m trying to locate the conf file to alter the memory allocated so I can bump it up but there’s nothing in the files provided that comes close.

Is it in a different location?
Is that not an option with docker?

Any guidance is much appreciated. Thank you for your time!

I think you want to modify /etc/nginx/nginx.conf or similar file. It’s perfectly doable with Docker – probably you will need to write your own and COPY it in to the image over a pre-existing one (if, for instance, using nginx official image).