I have two servers A) frontend server (ip 188.8.131.52), B) backend server (ip 184.108.40.206). Both use Debian Linux and Apache server.
A) frontend server uses reverse proxy to show content of B) backend server. I would like to restrict Apache access of backend server to ip 220.127.116.11 (should be accessible only from A) frontend server). Backend server listens on SSL enabled ports 1111 and 2222 (to serve two different reverse proxied sites).
I tried on backend server:
<Proxy "*"> Require ip 18.104.22.168 </Proxy>
<Proxy "*"> order deny,allow Deny from from all Allow from 22.214.171.124 </Proxy>
but I had no success. Still accessible by me from a web browser with URL https://126.96.36.199:1111.
Any other idea to restrict access of backend server to ip address of frontend server?