Hello,
I have a web deployed on an Apache server which need to call to a back-end service located in the same server, listening another port. I'm not in charge of the back-end side, which is implemented on Django and is not configured to listen requests to the domain, only listens the ip. Unfortunately, I can't change the configuration of the back-end.
We have installed an SSL certificate and now we have problems, because the web browser doesn't allow to connect to the ip. So I would like to create a temporary solution until the person in charge of Django fix the problem.
I would like to redirect requests to the domain to the ip using a reverse proxy. I don't know how to do it with a .htaccess file so I would thank some support from you.
For example, I would like that any request done to mydomainserver.com/data/user/1 would be internally redirect to 123.123.2.3/data/user/1
Is this possible?
Thanks!