2024-10-29 09:45:06 +00:00
|
|
|
(common) {
|
|
|
|
|
encode gzip
|
|
|
|
|
header -Server
|
|
|
|
|
|
|
|
|
|
{{ template }}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-20 13:24:08 +00:00
|
|
|
(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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-10-29 09:45:06 +00:00
|
|
|
(header_up) {
|
|
|
|
|
header_up Host {host}
|
|
|
|
|
header_up X-Real-IP {remote_host}
|
|
|
|
|
header_up X-Forwarded-For {remote_host}
|
|
|
|
|
header_up X-Forwarded-Proto {scheme}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
(lb_try) {
|
|
|
|
|
lb_try_duration 30s
|
|
|
|
|
lb_try_interval 1s
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-20 13:24:08 +00:00
|
|
|
plausible.freedium.local {
|
|
|
|
|
tls internal
|
2024-10-29 09:45:06 +00:00
|
|
|
import common
|
|
|
|
|
|
2024-11-20 13:24:08 +00:00
|
|
|
import plausible_web
|
2024-10-29 09:45:06 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-20 13:24:08 +00:00
|
|
|
:6753 {
|
2024-10-29 09:45:06 +00:00
|
|
|
import common
|
|
|
|
|
|
2024-11-20 13:24:08 +00:00
|
|
|
import plausible_web
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
freedium.local {
|
|
|
|
|
tls internal
|
|
|
|
|
import common
|
|
|
|
|
|
|
|
|
|
import freedium_web
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:6752 {
|
|
|
|
|
import common
|
|
|
|
|
|
|
|
|
|
import freedium_web
|
2024-10-29 09:45:06 +00:00
|
|
|
}
|