ProxyPreserveHost On # Replace with your sub domain ServerName example.localhost # Properly upgrade ws connections made by Baserow to the /ws path for realtime collab. RewriteEngine on RewriteCond ${HTTP:Upgrade} websocket [NC] RewriteCond ${HTTP:Connection} upgrade [NC] RewriteRule .* "ws://baserow:80/$1" [P,L,END] ProxyPass /ws ws://baserow:80/ws ProxyPassReverse /ws ws://baserow:80/ws ProxyPass /mcp http://baserow:80/mcp ProxyPassReverse /mcp http://baserow:80/mcp ProxyPass /oauth http://baserow:80/oauth ProxyPassReverse /oauth http://baserow:80/oauth ProxyPass /.well-known/oauth-authorization-server http://baserow:80/.well-known/oauth-authorization-server ProxyPassReverse /.well-known/oauth-authorization-server http://baserow:80/.well-known/oauth-authorization-server ProxyPass /.well-known/oauth-protected-resource http://baserow:80/.well-known/oauth-protected-resource ProxyPassReverse /.well-known/oauth-protected-resource http://baserow:80/.well-known/oauth-protected-resource # Send everything else to Baserow as normal. ProxyPass / http://baserow:80/ ProxyPassReverse / http://baserow:80/