More trying out things.
This commit is contained in:
parent
a99e7c51ef
commit
f284027ade
1 changed files with 14 additions and 6 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue