More trying out things.

This commit is contained in:
Root User 2026-02-13 20:47:55 +01:00
parent a99e7c51ef
commit f284027ade
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -152,18 +152,25 @@ in {
"X-Anubis-Authorized" "X-Anubis-Authorized"
]; ];
authRequestHeaders = [ authRequestHeaders = [
#"Cookie" "X-Forwarded-Proto"
#"X-Forwarded-Proto" "X-Forwarded-Host"
#"X-Forwarded-Host" "X-Forwarded-Uri"
#"X-Forwarded-Uri" "X-Forwarded-For"
#"X-Forwarded-For" "X-Real-Ip"
#"X-Real-Ip"
]; ];
}; };
}; };
}; };
http.routers = { http.routers = {
anubis-api = {
rule = "Host(`anubis.prg-radio.org`) && PathPrefix(`/.within.website/x/cmd/anubis/api`)";
service = "anubis";
entryPoints = ["websecure"];
priority = 200;
tls = {};
};
# Anubis router (for challenge page) # Anubis router (for challenge page)
anubis = { anubis = {
rule = "Host(`anubis.prg-radio.org`)"; rule = "Host(`anubis.prg-radio.org`)";
@ -214,6 +221,7 @@ in {
servers = [ servers = [
{url = "http://127.0.0.1:8090";} {url = "http://127.0.0.1:8090";}
]; ];
passHostHeader = true;
}; };
forgejo.loadBalancer = { forgejo.loadBalancer = {