mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 22:27:47 +00:00
Add X-Forwarded-Port header
This commit is contained in:
parent
914dbc53be
commit
0c88d73914
@ -1,5 +1,7 @@
|
||||
{{ LMS_HOST }}{% if not ENABLE_HTTPS %}:80{% endif %} {
|
||||
reverse_proxy nginx:80
|
||||
reverse_proxy nginx:80 {
|
||||
header_up X-Forwarded-Port {{ 443 if ENABLE_HTTPS else 80 }}
|
||||
}
|
||||
}
|
||||
preview.{{ LMS_HOST }}{% if not ENABLE_HTTPS %}:80{% endif %} {
|
||||
reverse_proxy nginx:80
|
||||
@ -8,4 +10,4 @@ preview.{{ LMS_HOST }}{% if not ENABLE_HTTPS %}:80{% endif %} {
|
||||
reverse_proxy nginx:80
|
||||
}
|
||||
|
||||
{{ patch("caddyfile") }}
|
||||
{{ patch("caddyfile") }}
|
||||
|
Loading…
Reference in New Issue
Block a user