mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-11 05:38:29 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
e6cb076038
@ -0,0 +1 @@
|
|||||||
|
[Improvement] Add ability to patch proxy configuration for Caddy (by @ravikhetani)
|
@ -52,6 +52,13 @@ File: ``apps/caddy/Caddyfile``
|
|||||||
|
|
||||||
File: ``apps/caddy/Caddyfile``
|
File: ``apps/caddy/Caddyfile``
|
||||||
|
|
||||||
|
.. patch:: caddyfile-proxy
|
||||||
|
|
||||||
|
``caddyfile-proxy``
|
||||||
|
===========================
|
||||||
|
|
||||||
|
File: ``apps/caddy/Caddyfile``
|
||||||
|
|
||||||
.. patch:: cms-env
|
.. patch:: cms-env
|
||||||
|
|
||||||
``cms-env``
|
``cms-env``
|
||||||
|
@ -37,6 +37,8 @@
|
|||||||
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 }}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{{ patch("caddyfile-proxy")|indent(4) }}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{ LMS_HOST }}{$default_site_port}, {{ PREVIEW_LMS_HOST }}{$default_site_port} {
|
{{ LMS_HOST }}{$default_site_port}, {{ PREVIEW_LMS_HOST }}{$default_site_port} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user