tutor/tutor/templates
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
..
apps feat: overridable lms/cms max upload size 2023-02-07 10:19:54 +01:00
build fix: backport fix for html component editing in studio 2023-01-18 07:51:24 +01:00
config feat: overridable lms/cms max upload size 2023-02-07 10:19:54 +01:00
dev fix: build openedx-dev image when host user is root 2022-07-09 00:09:20 +02:00
jobs/init feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00
k8s feat: Make it possible to customize k8s resources 2022-06-28 10:30:24 +02:00
local v14.0.0: upgrade to Nutmeg 2022-06-09 19:18:20 +02:00
kustomization.yml Fixed or syntax 2022-07-25 15:25:25 +02:00
version Add TUTOR_VERSION to template variables 2019-05-29 09:53:54 +02:00