Change redirect


I’m trying to maintain the URL when the response returns from the server.
I’ll explain the request:
we have a cloud proxy that allows us to do reverse proxying, but there are applications that perform redirects, which break the URL. I found a way to change the returning LOCATION, but still, CSS files aren’t loading.