Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhaedrusTheGreek/d677f2e193a72a3595b73485fe1c3b49 to your computer and use it in GitHub Desktop.
Save PhaedrusTheGreek/d677f2e193a72a3595b73485fe1c3b49 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
<Proxy balancer://my_kibana_cluster>
BalancerMember http://127.0.0.1:5601
BalancerMember http://127.0.0.1:5602
</Proxy>
ServerName max
#
# Proxy
#
ProxyRequests Off
ProxyPass / balancer://my_kibana_cluster
ProxyPassReverse / balancer://my_kibana_cluster
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule .* balancer://my_kibana_cluster%{REQUEST_URI} [P,QSA]
ErrorLog /var/log/httpd/kibana_error.log
LogLevel debug
CustomLog /var/log/httpd/kibana_access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment