mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(nginx): disable OIDC webfinger whitelist
This commit is contained in:
parent
ddb327ffa7
commit
aa6f6587a6
1 changed files with 4 additions and 3 deletions
|
|
@ -44,9 +44,10 @@ in {
|
|||
set ${acct} $2;
|
||||
add_header "Content-Type" "application/jrd+json";
|
||||
}
|
||||
if ($arg_rel !~* "http.*openid\.net") {
|
||||
set ${acct} "";
|
||||
}
|
||||
# whitelist responses for OIDC only
|
||||
#if ($arg_rel !~* "http.*openid\.net") {
|
||||
# set ${acct} "";
|
||||
#}
|
||||
if (${acct} = "") {
|
||||
return 404;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue