In /etc/php/7.0/fpm/php.ini on the container:
post_max_size = upload_max_filesize = 300M (above this DOMjudge starts lagging a lot...)
max_file_uploads = 1000 just in case, 200 the default is a bit low, but also set the DOMjudge config sourcefiles limit to 1000
In /etc/nginx/sites-enabled/default on the container: (NOTE, in the future this may become a symlink to a domjudge file, edit the real file instead! Or just edit the default nginx conf to override that at the end of the http block...)
- Set
client_max_body_size 0; instead of the existing 64M
Then supervisorctl restart all
In
/etc/php/7.0/fpm/php.inion the container:post_max_size=upload_max_filesize=300M(above this DOMjudge starts lagging a lot...)max_file_uploads=1000just in case, 200 the default is a bit low, but also set the DOMjudge config sourcefiles limit to 1000In
/etc/nginx/sites-enabled/defaulton the container: (NOTE, in the future this may become a symlink to a domjudge file, edit the real file instead! Or just edit the default nginx conf to override that at the end of the http block...)client_max_body_size 0;instead of the existing 64MThen
supervisorctl restart all