6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 22:27:47 +00:00

Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2022-10-19 09:42:52 +00:00
commit 34fd1dcb70
2 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,8 @@ Every user-facing change should have an entry in this changelog. Please respect
## Unreleased ## Unreleased
- [Improvement] use caddy `encode gzip` directive to optimize transfer size (by @ghassanmas)
## v14.1.0 (2022-10-10) ## v14.1.0 (2022-10-10)
- [Improvement] Upgrade Scorm XBlock to v14.0.0. (by @regisb) - [Improvement] Upgrade Scorm XBlock to v14.0.0. (by @regisb)

View File

@ -20,6 +20,11 @@
} }
} }
# This will compress requests that matches the default criteria set by Caddy.
# see https://caddyserver.com/docs/caddyfile/directives/encode
# for information about the defaults; i.e. how/when this will be applied.
encode gzip
reverse_proxy {args.0} { reverse_proxy {args.0} {
header_up X-Forwarded-Port {{ 443 if ENABLE_HTTPS else 80 }} header_up X-Forwarded-Port {{ 443 if ENABLE_HTTPS else 80 }}
} }