Sometimes you want to have a secure access (or read only) to restfull services.
It could be for monitoring process, team access to data for debug etc.. Apache can do a great job as reverse proxy. Here is the vhost (with ip restriction too) to a elasticsearch instance. Requests are restricted to HTTP GET. This mean read only if the service is really restfull.
BalancerMember http://127.0.0.1:9200 max=1 retry=5
order deny,allow deny from all allow from 127.0.0.1 allow from 18.104.22.168 # your iporder deny,allow deny from all
ProxyPass / balancer://main/
ProxyPassReverse / balancer://main/