CORD-2469: Make ELK work behind Apache proxy
Change-Id: I3704b2a31ea867289e5a5a82c752522733c76a22
diff --git a/roles/apache-proxy/files/cord-http.conf b/roles/apache-proxy/files/cord-http.conf
index 5460216..9dcd190 100644
--- a/roles/apache-proxy/files/cord-http.conf
+++ b/roles/apache-proxy/files/cord-http.conf
@@ -51,8 +51,50 @@
ProxyPass /xos-tosca http://xos-tosca:9102
# ELK STACK
- ProxyPass /elkapi http://xos:9200
- ProxyPass /elk http://xos:5601
+ ProxyPass /app/kibana http://xos:5601/app/kibana
+ ProxyPassReverse /app/kibana http://xos:5601/app/kibana
+
+ ProxyPass /app/timelion http://xos:5601/app/timelion
+ ProxyPassReverse /app/timelion http://xos:5601/app/timelion
+
+ ProxyPass /bundles http://xos:5601/bundles
+ ProxyPassReverse /bundles http://xos:5601/bundles
+
+ ProxyPass /elasticsearch http://xos:9200
+ ProxyPassReverse /elasticsearch http://xos:9200
+
+ ProxyPass /status http://xos:5601/status
+ ProxyPassReverse /status http://elk:/status
+
+ ProxyPass /api/status http://xos:5601/api/status
+ ProxyPassReverse /api/status http://xos:5601/api/status
+
+ ProxyPass /api/saved_objects http://xos:5601/api/saved_objects
+ ProxyPassReverse /api/saved_objects http://xos:5601/api/saved_objects
+
+ ProxyPass /api/console http://xos:5601/api/console
+ ProxyPassReverse /api/console http://xos:5601/api/console
+
+ ProxyPass /api/timelion/run http://xos:5601/api/timelion/run
+ ProxyPassReverse /api/timelion/run http://xos:5601/api/timelion/run
+
+ ProxyPass /api/timelion/functions http://xos:5601/api/timelion/functions
+ ProxyPassReverse /api/timelion/functions http://xos:5601/api/timelion/functions
+
+ ProxyPass /plugins/kibana/ http://xos:5601/plugins/kibana/
+ ProxyPassReverse /plugins/kibana/ http://xos:5601/plugins/kibana/
+
+ ProxyPass /plugins/timelion/ http://xos:5601/plugins/timelion/
+ ProxyPassReverse /plugins/timelion/ http://xos:5601/plugins/timelion/
+
+ ProxyPass /app/sense http://xos:5601/app/sense
+ ProxyPassReverse /app/sense http://xos:5601/app/sense
+
+ ProxyPass /ui/fonts/open_sans/ http://xos:5601/ui/fonts/open_sans/
+ ProxyPassReverse /ui/fonts/open_sans/ http://xos:5601/ui/fonts/open_sans/
+
+ ProxyPass /es_admin/ http://xos:5601/es_admin/
+ ProxyPassReverse /es_admin/ http://xos:5601/es_admin/
# Map the various XOS roots to the XOS instance
ProxyPass /xos-deprecated http://xos:9000