tutor/docs
Régis Behmo 4b14d20c5e feat: overridable lms/cms max upload size
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
2023-02-07 10:19:54 +01:00
..
_ext feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
download docs: wrap `tutor[full]` in quotes for zsh compatibility 2022-04-15 09:20:21 +02:00
img feat: upgrade to olive 2022-12-12 16:55:07 +01:00
plugins feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
reference feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
tutorials feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
.gitignore Migrate openedx-docker project to Tutor 👩‍🏫 2018-12-26 19:27:08 +01:00
Makefile feat: strongly typed hooks 2022-11-15 14:58:36 +01:00
conf.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
configuration.rst feat: overridable lms/cms max upload size 2023-02-07 10:19:54 +01:00
dev.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
faq.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
gettingstarted.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
index.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
install.rst feat: deprecate "quickstart" and rename to "launch" 2022-09-30 12:05:35 +02:00
intro.rst feat: deprecate "quickstart" and rename to "launch" 2022-09-30 12:05:35 +02:00
k8s.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
local.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
quickstart.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
run.rst docs: build docs in CI (and be nitpicky about it) 2021-10-14 12:59:57 +02:00
testimonials.rst v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
troubleshooting.rst feat: deprecate "quickstart" and rename to "launch" 2022-09-30 12:05:35 +02:00
tutor.rst ci: simplify release process 2022-11-29 16:46:06 +01:00
whatnext.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00