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"
];
authRequestHeaders = [
#"Cookie"
#"X-Forwarded-Proto"
#"X-Forwarded-Host"
#"X-Forwarded-Uri"
#"X-Forwarded-For"
#"X-Real-Ip"
"X-Forwarded-Proto"
"X-Forwarded-Host"
"X-Forwarded-Uri"
"X-Forwarded-For"
"X-Real-Ip"
];
};
};
};
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 = {
rule = "Host(`anubis.prg-radio.org`)";
@ -214,6 +221,7 @@ in {
servers = [
{url = "http://127.0.0.1:8090";}
];
passHostHeader = true;
};
forgejo.loadBalancer = {