I'm in the exact same situation as this closed topic:
Auto authenticating to an embedded Kibana dashboard (on Elastic.co CLOUD)
But I prefer to use Apache rather than Nginx as a reverse proxy.
Here is my apache configuration:
<VirtualHost *:80>
ServerName kibana.opscidia.com
ProxyPass / "<kibana_share_url>"
ProxyPassReverse / "<kibana_share_url>"
# <Location /mypath>
# RequestHeader set Authorization "Basic <auth_param>"
# </Location>
</VirtualHost>
Even before trying to auto-login, I face an error with the redirection:
AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
I tried many things with <kibana_share_url> from elastic.co such as:
- https://a0e429371b4444caa3ac18a5a710a7ca.europe-west1.gcp.cloud.es.io:9243/app/kibana#/dashboard/a939da50-7582-11e9-ad61-2fd949f49923?_g=()
- or simply https://a0e429371b4444caa3ac18a5a710a7ca.europe-west1.gcp.cloud.es.io
But I always get the same error.
And I don't have such error with any other kind of url
Can you help me ?