Skip to content

Commit

Permalink
fix(nginx): comment out OPTIONS method handling in auth configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 9, 2024
1 parent c8a64e3 commit 25eb239
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if ( $http_authorization ~ ^Alwatr\s+([A-z0-9_=-]+):([A-z0-9_=-]+)$ ) {
}

# Skip return 403 when method is OPTIONS and continue processing
if ($request_method = OPTIONS) {
break;
}
if ($userLocation = 0) {
return 403;
}
# if ($request_method = OPTIONS) {
# break;
# }
# if ($userLocation = 0) {
# return 403;
# }

0 comments on commit 25eb239

Please sign in to comment.