tutor/changelog.d
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
..
scriv ci: better github release management with scriv 2023-01-17 12:12:10 +01:00
20230106_190620_regis_hooks_api.md docs: fix typos in hooks changelog entry 2023-02-02 11:43:55 +01:00
20230130_112932_regis_overridable_caddy_max_upload.md feat: overridable lms/cms max upload size 2023-02-07 10:19:54 +01:00
scriv.ini ci: better github release management with scriv 2023-01-17 12:12:10 +01:00