6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-02-10 05:08:27 +00:00

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

This commit is contained in:
Overhang.IO 2024-04-25 11:45:58 +00:00
commit e6cb076038
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
[Improvement] Add ability to patch proxy configuration for Caddy (by @ravikhetani)

View File

@ -52,6 +52,13 @@ File: ``apps/caddy/Caddyfile``
File: ``apps/caddy/Caddyfile``
.. patch:: caddyfile-proxy
``caddyfile-proxy``
===========================
File: ``apps/caddy/Caddyfile``
.. patch:: cms-env
``cms-env``

View File

@ -37,6 +37,8 @@
reverse_proxy {args.0} {
header_up X-Forwarded-Port {{ 443 if ENABLE_HTTPS else 80 }}
}
{{ patch("caddyfile-proxy")|indent(4) }}
}
{{ LMS_HOST }}{$default_site_port}, {{ PREVIEW_LMS_HOST }}{$default_site_port} {