Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Added

- A bullet item for the Added category.

-->
### Fixed

- Properly mirror the LMS caddy block in the default catch-all block used by `DRYDOCK_ENABLE_MULTITENANCY`.
<!--
### Fixed

- A bullet item for the Fixed category.

-->
<!--
### Removed

- A bullet item for the Removed category.

-->
20 changes: 13 additions & 7 deletions drydock/patches/caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@
}
rewrite @favicon_matcher /theming/asset/images/favicon.ico

{{ patch("caddyfile-mfe-by-path") }}

# Limit profile image upload size
request_body /api/profile_images/*/*/upload {
max_size 1MB
}
request_body {
max_size 4MB
handle_path /api/profile_images/*/*/upload {
request_body {
max_size 1MB
}
}

import proxy "lms:8000"

{{ patch("caddyfile-lms")|indent(4) }}

handle_path /* {
request_body {
max_size 4MB
}
}

{% if DRYDOCK_ENABLE_SCORM and MINIO_HOST is defined %}
@scorm_matcher {
path /scorm-proxy/*
Expand Down