diff --git a/packages/nginx/etc/nginx/templates/location.d/80-auth.conf.template b/packages/nginx/etc/nginx/templates/location.d/80-auth.conf.template index 3ca002c8..4c7d3c34 100644 --- a/packages/nginx/etc/nginx/templates/location.d/80-auth.conf.template +++ b/packages/nginx/etc/nginx/templates/location.d/80-auth.conf.template @@ -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; +# }