mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
4b14d20c5e
Users want to be able to override the request `max_size` to upload larger files. But they will not be able to if the patch is placed after the `request` directive. So we move the patch statement before the directive. Also, we wrap the `request_body` directives within `handle` statements. If not, then different sizes are not managed properly. To override the max upload size in the cms, add the following to the "caddyfile-cms" patch: handle_path /import/* { request_body { max_size 500MB } } See discussion: https://discuss.openedx.org/t/how-to-update-caddyfile-using-tutor-plugin/8944 |
||
---|---|---|
.. | ||
_ext | ||
download | ||
img | ||
plugins | ||
reference | ||
tutorials | ||
.gitignore | ||
conf.py | ||
configuration.rst | ||
dev.rst | ||
faq.rst | ||
gettingstarted.rst | ||
index.rst | ||
install.rst | ||
intro.rst | ||
k8s.rst | ||
local.rst | ||
Makefile | ||
quickstart.rst | ||
run.rst | ||
testimonials.rst | ||
troubleshooting.rst | ||
tutor.rst | ||
whatnext.rst |