This commit is contained in:
Shelvacu
2024-06-03 13:36:14 -07:00
parent e565c4e8a2
commit cb1e7f0f89

View File

@@ -37,7 +37,7 @@ frontend main
acl ssl_sni_http_host_match ssl_fc_sni,strcmp(req.host) eq 0
acl host_vacustore var(req.host) -m str "vacu.store"
acl host_auth var(req.host) -m str "auth.shelvacu.com"
# acl host_auth var(req.host) -m str "auth.shelvacu.com"
acl host_cache var(req.host) -m str "nixcache.shelvacu.com"
acl host_stats_jl var(req.host) -m str "stats.jean-luc.org"
acl host_tulpaudcast_jl var(req.host) -m str "tulpaudcast.jean-luc.org"
@@ -59,7 +59,7 @@ frontend main
http-request return string "Shelvacu is awesome" content-type text/plain if { path / } { var(req.host) -m str "shelvacu.com" }
http-request return string "Jean-luc is awesome" content-type text/plain if { path / } { var(req.host) -m str "jean-luc.org" }
http-request allow if host_vacustore
http-request allow if host_auth
# http-request allow if host_auth
http-request allow if host_cache
http-request allow if host_stats_jl
http-request allow if host_tulpaudcast_jl
@@ -67,7 +67,7 @@ frontend main
http-request return status 404 string "not found" content-type text/plain
use_backend vacustore if host_vacustore
use_backend keycloak if host_auth
# use_backend keycloak if host_auth
use_backend nix-cache if host_cache
use_backend jl_stats if host_stats_jl
use_backend static_stuff if host_tulpaudcast_jl