Accessing Metabase through Apache

Hi All,

I would like to access Metabase on standard port 80, where Apache is running. Just wondering if anyone could advise how to set it up. The idea is to access Metabase with a URL like: http://example.com/metabase/ Any hints are welcome.

Thanks,
-Tamás

Just for the record, it seems it is not possible to do this. See this other topic and issue 2090 for details.

Yeah, it’s not currently possible.

We have no objection to it, and a PR that fixed this would be more than welcome =) It’s on our radar, but we’ve been focusing more on the nuts and bolts of the app itself.

I stumbled recently on this post with the same question.

Actually it’s possible to run metabase as http://example.com/metabase/ if you add a proxypass in your Apache configuration. Technically the traffic for /metabase will then be routed to http://example.com:3000

add in /etc/apache2/sites-available/example.com.conf

ProxyPreserveHost On
ProxyPass /metabase http://0.0.0.0:3000
ProxyPassReverse /metabase http://0.0.0.0:3000
ServerName localhost

2 Likes

Actually, this one works, "the proxyreverse"

I am just having a problem with the exporting results because I have Apache running on port 80. And during the export in Metabase it doesn't redirects to post 3000.

please use nginx or some modern reverse proxy