I have two servers A) frontend server (ip 18.104.22.168), B) backend server (ip 22.214.171.124). 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 126.96.36.199 (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 188.8.131.52 </Proxy>
<Proxy "*"> order deny,allow Deny from from all Allow from 184.108.40.206 </Proxy>
but I had no success. Still accessible by me from a web browser with URL https://220.127.116.11:1111.
Any other idea to restrict access of backend server to ip address of frontend server?