This commit is contained in:
shelvacu
2024-10-19 21:21:24 -07:00
parent ee36ed3373
commit 94edcb5f9a
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
./services/jl-stats.nix
# ./services/kanidm.nix
# ./services/keycloak.nix
# ./services/llm.nix
./services/llm.nix
./services/nix-cache-nginx.nix
./services/static-stuff.nix
./services/vacustore.nix

View File

@@ -67,7 +67,7 @@ frontend main
http-request deny status 400 if !{ req.fhdr_cnt(host) eq 1 }
http-request deny status 421 if has_sni has_host_hdr !ssl_sni_http_host_match
http-request return lf-string "%ci\n" content-type text/plain if host_shelvacu { path /ip }
http-request return lf-string "%ci\n" content-type text/plain if { var(req.host) -m str "shelvacu.com" } { path /ip }
http-request redirect scheme https code 301 if !{ ssl_fc }
# garunteed ssl-only from here on