Working solution :
location /api/auth/ {
rewrite ^/api/auth(.*) $1 break;
proxy_pass http://localhost:8085/;
}
About this regex :
due to ^, means every caractere chain begining with /api/auth(.*)
represent a group of any character.
Example /api/auth/account/login :