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"
|
"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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue