kristophjunge / docker-mediawiki

Dockerized MediaWiki running under Nginx and PHP-FPM. Based on the official PHP7 image. Packaged with VisualEditor plugin and Parsoid service.
MIT License
62 stars 41 forks source link

Error in MEDIAWIKI_MAX_UPLOAD_SIZE #21

Open shizacat opened 6 years ago

shizacat commented 6 years ago

You do not update variable into nginx (client_max_body_size) when to set up environment.

shizacat commented 6 years ago

Example:

sed -i "s/client_max_body_size.*/client_max_body_size ${MEDIAWIKI_MAX_UPLOAD_SIZE};/" /etc/nginx/nginx.conf
omegagi commented 5 years ago

I'm interested in this too please

i added something like the below to my extra settings $wgMaxUploadSize = 20000000;

however still get the following error 413 Request Entity Too Large nginx