How to mount baserow to URL path (e.g.


Baserow is being served with the default docker container exposed on localhost:8080. This is then attached to the endpoint of an SSL configured Nginx Reverse Proxy.

		location /baserow {
			proxy_pass http://localhost:8080/;
			proxy_http_version 1.1;
			proxy_set_header Upgrade $http_upgrade;
			proxy_set_header Connection "Upgrade";
			proxy_set_header Host $host;
			proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        	        proxy_set_header X-Forwarded-Proto $scheme;
        	        proxy_set_header X-Real-IP $remote_addr;

I am able to reach the Baserow UI but the root route has not been corrected to and the initial redirect reroutes the browser to instead of

Any suggestions for this?

Baserow unfortunately doesn’t currently support running under some sort of url prefix. However I believe this is a very simple thing to fix as all we need to do is support setting the following property Nuxt - The router Property exposed by our web frontend framework nuxt (and also adjust the backend api urls).

I’ve created an issue tracking this problem here: Allow running Baserow under an URL prefix (#1179) · Issues · Bram Wiepjes / baserow · GitLab

For now i’m not sure you have any easy work arounds other than hosting Baserow on a subdomain or it’s own domain unfortunately. Perhaps there is some nginx magic that could trick Baserow into working correctly?

1 Like

Thanks for the response nigel. I’ll let you know if I find an nginx trick. However, the PR seems to be the right direction.