-
-
Save eredding-rmn/6c9bc0509c6379241241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName es.yourhost.com | |
<Proxy balancer://main> | |
BalancerMember http://127.0.0.1:9200 max=1 retry=5 | |
<Limit GET > | |
order deny,allow | |
deny from all | |
allow from 127.0.0.1 | |
allow from 8.8.8.8 # your ip | |
</Limit> | |
<Limit POST PUT DELETE> | |
order deny,allow | |
deny from all | |
</Limit> | |
</Proxy> | |
ProxyPass / balancer://main/ | |
ProxyPassReverse / balancer://main/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment