When I'm trying to access the web interface of arangoDb behind a nginx reverse proxy I'm getting a 401 Unauthorized reponse
This is my current nginx configuration
location /db/bnf/ {
auth_basic off;
proxy_pass http://172.28.1.3:8529/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;
}
The auth_basic off;
is used here because of I already have security at the root of the server (.htpasswd method) I've tried with and without it
I'm able to access the login page via
http://something/db/bnf/_db/_system/_admin/aardvark/index.html#login
But then when I'm trying to login for exemple :
POST https://something/_db/_system/_open/auth
The post url seems wrong to me and should be
https://something/db/bnf/_db/_system/_open/auth
The arango conf file is set to default. I have read the documentation but they are only talking about Foxx services.
Any help would be greatly appreciated