Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Configure the value of ROOT_URL without the domain name #419

Open
pinghe opened this issue Dec 15, 2020 · 1 comment
Open

Configure the value of ROOT_URL without the domain name #419

pinghe opened this issue Dec 15, 2020 · 1 comment

Comments

@pinghe
Copy link

pinghe commented Dec 15, 2020

I do usually install the app to a subdomain like https://app1.example.com behind a reverse proxy.

I want to configure the value of ROOT_URL to be the path to the same domain. For example.
ROOT_URL = / or ROOT_URL = /app1.

But this configuration will report an error on startup:
Error: Must pass options.rootUrl or set ROOT_URL in the server environment

@jamesgibson14
Copy link

This would be great, I run 5-10 apps per server/meteor instance via sub domains, but I can only build one mobile app per instance because it always passes the same ROOT_URL to the mobile build instead of whatever sub domain is accessing the server.

@filipenevola filipenevola transferred this issue from meteor/meteor Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants