I am trying to simple route all the HTTP requests made to the server to redirect as HTTPS to external server.
Can you please help with the it?
server sv1 10.192.x.x:443
Also I am trying to use curl (below command) and it should redirect to https://v1/health to fetch the data.
The https url works without any issue, so there is no connectivity issue from the machine. But the localhost url
curl -X GET http://localhost/health
curl: (52) Empty reply from server
curl -X GET https://sv1/health