Kibana behind Apache Reverse Proxy

Hello,

I am deploying Kibana behind Apache Reverse Proxy, getting all the help from the links from this forum.
However I am stuck at this point.
If I add server.basepath= "/kibana" in kibana.yml, kibana doesn't load and shows 404 error


These are my settings for apache config file

        ServerName kibana
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
	
	ProxyPass /kibana http://127.0.0.1:5601/
	ProxyPassReverse /kibana http:127.0.0.1:5601/

        ProxyPass /app/kibana http://127.0.0.1:5601/app/kibana/
	ProxyPassReverse /app/kibana http://127.0.0.1:5601/app/kibana/

	ProxyPass /bundles http://localhost:5601/bundles/
	ProxyPassReverse /bundles http://localhost:5601/bundles/

	ProxyPass /elasticsearch/ http://localhost:9200
	ProxyPassReverse /elasticsearch/ http://3v218.cv.hp.com:9200

	ProxyPass /status http://localhost:5601/status
	ProxyPassReverse /status http://localhost:/status

	ProxyPass /api/status http://localhost:5601/api/status
	ProxyPassReverse /api/status http://localhost:5601/api/status

	ProxyPass /api/console http://localhost:5601/api/console
	ProxyPassReverse /api/console http://localhost:5601/api/console

	ProxyPass /plugins/kibana/ http://localhost:5601/plugins/kibana/
	ProxyPassReverse /plugins/kibana/ http://localhost:5601/plugins/kibana/

	ProxyPass /plugins/timelion/ http://localhost:5601/plugins/timelion/
	ProxyPassReverse /plugins/timelion/ http://localhost:5601/plugins/timelion/

	ProxyPass /app/sense http://localhost:5601/app/sense
	ProxyPassReverse /app/sense http://localhost:5601/app/sense

	ProxyPass /ui/fonts/open_sans/ http://localhost:5601/ui/fonts/open_sans/
	ProxyPassReverse /ui/fonts/open_sans/ http://localhost:5601/ui/fonts/open_sans/

	ProxyPass /es_admin/ http://localhost:5601/es_admin/
	ProxyPassReverse /es_admin/ http://localhost:5601/es_admin/


        <Location />
          Order allow,deny
          Allow from all
        </Location>

   </VirtualHost>

Any clues? Any help would be appreciated.

From a quick look, it seems the URL in chrome is wrong? It should be localhost:5601/kibana instead of localhost:5601/app/kibana/spaces/enter (flip "app" and "kibana" portions).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.