diff --git a/changelog.d/20230914_125107_illia_caddyfile_patch_master.md b/changelog.d/20230914_125107_illia_caddyfile_patch_master.md new file mode 100644 index 00000000..c4bb282f --- /dev/null +++ b/changelog.d/20230914_125107_illia_caddyfile_patch_master.md @@ -0,0 +1,14 @@ + + + + + + +- [Improvement] Allow to patch MFE Caddyfile. (by @snglth) diff --git a/tutormfe/templates/mfe/apps/mfe/Caddyfile b/tutormfe/templates/mfe/apps/mfe/Caddyfile index ec6a9b44..19081c99 100644 --- a/tutormfe/templates/mfe/apps/mfe/Caddyfile +++ b/tutormfe/templates/mfe/apps/mfe/Caddyfile @@ -12,6 +12,8 @@ } } + {{ patch("mfe-caddyfile") | indent(4) }} + reverse_proxy /api/mfe_config/v1* lms:8000 { # We need to specify the host header, otherwise it will be rejected with 400 # from the lms.