No not just http -> https...
In nginx i realized this with a reverse_proxy and proxy_pass.
My goal is, that the url stays the origin url and does not switch to the redirected url.
Now the behaviour in brower is:
http://srv01xyz.com (origin url)
redirect to:
https://srv02xyz.com (destination url)
but in my browser address bar i get the destination url. It should stay the origin url
For expample
http://srv01xyz.com/example should redirect to https://srv02xyz.com/example but in the adress bar it should stay at https://srv01xyz.com/example
I hope this will be clear now.
Thank you.