Hosting at a path

Hi @Ravi_Kapoor, for issue 1, have you set an APP_HOME_URL environment variable? See the grist section of the docker-compse.yml in A template for self-hosting Grist with traefik and docker compose for an example of how it would look. As soon as it is set, Grist will no longer try to guess what URLs to produce (which can be wrong) but just use what you tell it to do.

For issue 2, is path a path prefix you want to have in all Grist URLs? Grist doesn’t have native support for that yet. You may be able to manipulate the path seen by Grist with your LB or reverse proxy. Or you could make a code change - Grist already has middleware to deal with specific path prefixes like /o/ORG or /v/VERSION.