mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
feat(caddy): hotfix prod https error problem
This commit is contained in:
parent
98efc5ee38
commit
cf9327477e
2 changed files with 64 additions and 22 deletions
|
|
@ -1,5 +1,4 @@
|
|||
(common) {
|
||||
tls internal
|
||||
encode gzip
|
||||
header -Server
|
||||
|
||||
|
|
@ -208,6 +207,20 @@
|
|||
|
||||
}
|
||||
|
||||
(freedium_web) {
|
||||
reverse_proxy freedium_web:7080 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
}
|
||||
|
||||
(plausible_web) {
|
||||
reverse_proxy freedium_plausible:8000 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
}
|
||||
|
||||
(header_up) {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote_host}
|
||||
|
|
@ -220,20 +233,28 @@
|
|||
lb_try_interval 1s
|
||||
}
|
||||
|
||||
plausible.freedium.local, :6753 {
|
||||
plausible.freedium.local {
|
||||
tls internal
|
||||
import common
|
||||
|
||||
reverse_proxy freedium_plausible:8000 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
import plausible_web
|
||||
}
|
||||
|
||||
freedium.local, :6752 {
|
||||
:6753 {
|
||||
import common
|
||||
|
||||
reverse_proxy freedium_web:7080 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
import plausible_web
|
||||
}
|
||||
|
||||
freedium.local {
|
||||
tls internal
|
||||
import common
|
||||
|
||||
import freedium_web
|
||||
}
|
||||
|
||||
:6752 {
|
||||
import common
|
||||
|
||||
import freedium_web
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,24 @@
|
|||
(common) {
|
||||
tls internal
|
||||
encode gzip
|
||||
header -Server
|
||||
|
||||
{{ template }}
|
||||
}
|
||||
|
||||
(freedium_web) {
|
||||
reverse_proxy freedium_web:7080 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
}
|
||||
|
||||
(plausible_web) {
|
||||
reverse_proxy freedium_plausible:8000 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
}
|
||||
|
||||
(header_up) {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote_host}
|
||||
|
|
@ -18,20 +31,28 @@
|
|||
lb_try_interval 1s
|
||||
}
|
||||
|
||||
plausible.freedium.local, :6753 {
|
||||
plausible.freedium.local {
|
||||
tls internal
|
||||
import common
|
||||
|
||||
reverse_proxy freedium_plausible:8000 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
import plausible_web
|
||||
}
|
||||
|
||||
freedium.local, :6752 {
|
||||
:6753 {
|
||||
import common
|
||||
|
||||
reverse_proxy freedium_web:7080 {
|
||||
import header_up
|
||||
import lb_try
|
||||
}
|
||||
import plausible_web
|
||||
}
|
||||
|
||||
freedium.local {
|
||||
tls internal
|
||||
import common
|
||||
|
||||
import freedium_web
|
||||
}
|
||||
|
||||
:6752 {
|
||||
import common
|
||||
|
||||
import freedium_web
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue