Skip to content

Commit

Permalink
feat: allow to patch MFE caddyfile
Browse files Browse the repository at this point in the history
Comes in hand if you want to add basicauth
  • Loading branch information
snglth authored and arbrandes committed Sep 22, 2023
1 parent 54dd61f commit f0aa8a5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions changelog.d/20230914_125107_illia_caddyfile_patch_master.md
@@ -0,0 +1,14 @@

<!--
Create a changelog entry for every new user-facing change. Please respect the following instructions:
- Indicate breaking changes by prepending an explosion 💥 character.
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
the release notes for every release.
-->

<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->

- [Improvement] Allow to patch MFE Caddyfile. (by @snglth)
2 changes: 2 additions & 0 deletions tutormfe/templates/mfe/apps/mfe/Caddyfile
Expand Up @@ -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.
Expand Down

0 comments on commit f0aa8a5

Please sign in to comment.