Fixup wssproxy

This commit is contained in:
Alex D. 2023-05-30 20:16:56 +00:00
parent 19814aa16c
commit 1018c76633
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
. ../APKBUILD-config.template
pkgver=2022.04.02.02
pkgver=2023.05.24.04
pkgrel=0
depends="redxen-secret-letsencrypt-full redxen-data-haproxy-errorpages"
checkdepends="haproxy"
@ -15,5 +15,5 @@ check() {
}
sha512sums="
45bd2aa36469225968df94843d4548064f601ebc7d353fed75d8e50cd1eb0edad12e9ba07e1d05cd88ce2597cb4d411585a613f349ceb08fb5061e30cc6be97b main.cfg
04c82c113fb6096a97b38044d55515028eb8309483d31e480bf536b3e4cb00d75a693e5224bb0ac5b25586b40669c0edeae2a4a96f2b5029d5d4c998a748341b main.cfg
"

View File

@ -84,7 +84,6 @@ frontend http
acl btdaemon hdr_beg(host) -i seed.redxen
acl packs hdr_beg(host) -i packages.redxen
acl cal hdr_beg(host) -i cal.redxen
acl wssproxy hdr_beg(host) -i wssproxy.redxen
acl monerod hdr_beg(host) -i monerod.redxen
redirect location https://en.uncyclopedia.co/wiki/South_Africa code 302 if fedi
@ -98,8 +97,9 @@ frontend http
use_backend backend-btdaemon if btdaemon
use_backend backend-packages if packs
use_backend backend-radicale if cal
use_backend backend-wssproxy if wssproxy
#use_backend backend-monerod if monerod
# Fallback to wssproxy to bypass SNI/domain filters
use_backend backend-wssproxy
backend backend-home
server-template root 1 _root._tcp.routinginfo.internal
@ -143,7 +143,8 @@ backend backend-radicale
backend backend-wssproxy
server-template wssproxy 1 _wssproxy._tcp.routinginfo.internal
option httpchk HEAD / HTTP/1.1
http-check send hdr Host wss-proxy.redxen.eu
http-check send hdr Host localhost
http-check expect status 404
#backend backend-monerod
# server-template monerod 1 _monerod._tcp.routinginfo.internal