Вы можете попробовать изменить правило перезаписи.
upstream exe-al-server-up {
server exe-ser-ab.rds-dev:8080;
}
server {
server_name apps.domain.example.com;
proxy_pass_header Authorization;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
client_max_body_size 0;
proxy_read_timeout 36000s;
proxy_redirect off;
location /abcadmin/ {
rewrite ^/abcadmin(.*) /$1 break;
proxy_pass http://imp-al-ra-up/xyzadmin/;
}
}