Closed jmatsushita closed 10 years ago
Looked into this but the following nginx configuration:
satisfy any; allow x.y.z.t; deny all; auth_basic "Restricted Access"; auth_basic_user_file /data/auth/neo4j;
doesn't work since the browser makes the request.
Probably needs something with the HTTP_ORIGIN variable and maybe the auth_basic off; and maybe the map module http://nginx.org/en/docs/http/ngx_http_map_module.html
HTTP_ORIGIN
auth_basic off;
Used this approach to conditional auth with custom error code and $http_origin variable.
Looked into this but the following nginx configuration:
doesn't work since the browser makes the request.
Probably needs something with the
HTTP_ORIGIN
variable and maybe theauth_basic off;
and maybe the map module http://nginx.org/en/docs/http/ngx_http_map_module.html