-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADAPT_DOMAIN does not take into account the specified port #1319
Comments
Indeed. I guess you specifically talk about this line: efdf400#diff-fc1da3a0a5d0e38041484575c01e5c8af0a44c54b5bdcf120ccbf6771e333d61R43 @peauc Cloning the repository, fetching my branch and building a docker image is something that you can do? If so, I would like to know if this PR fixes your issue by chance: #1247 Otherwise I can create an unofficial image for you so you can test. |
Hello @fflorent, I would appreciate if you could build the image. It would be way easier that way |
I failed to build the docker image, I think it is related to the recent changes in Dockerfile:
|
Alrighty @fflorent, i'll be watching this ticket then :D. We've found a dirty workaround for the meantime |
Describe the current behavior
When using
ADAPT_DOMAIN
env var there is an issue when two of the domains are using different schemes.Im self hosting grist on a private cloud.
Grist is accessed in http between servers and https over the internet.
I cannot get grist to work using
ADAPT_DOMAIN
. It tries to send back packets to the scheme configured inGRIST_HOME_URL
.When setting this
GRIST_HOME_URL
variable to empty. it then use the port specified byPORT
which is also wrong.Steps to reproduce
Host a grist using docker. Have it being reachable over two domains using both https & http.
You won't be able to use the two routers
Describe the expected behavior
It should adapt to the scheme passed in the host header
Where have you encountered this bug?
Instance information (when self-hosting only)
The text was updated successfully, but these errors were encountered: