chore(nginx): disable OIDC webfinger whitelist

This commit is contained in:
arcnmx 2024-08-01 10:01:39 -07:00
parent ddb327ffa7
commit aa6f6587a6

View file

@ -44,9 +44,10 @@ in {
set ${acct} $2; set ${acct} $2;
add_header "Content-Type" "application/jrd+json"; add_header "Content-Type" "application/jrd+json";
} }
if ($arg_rel !~* "http.*openid\.net") { # whitelist responses for OIDC only
set ${acct} ""; #if ($arg_rel !~* "http.*openid\.net") {
} # set ${acct} "";
#}
if (${acct} = "") { if (${acct} = "") {
return 404; return 404;
} }