-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Multiple URL to the same server #6899
Comments
This is something I have been meaning to suggest as well since I run my instance in a similar manner; it is accessible from three different domains ( 👍 |
Related to #2912 |
I want this feature too. Any new about it? |
This is quite an important feature to us, is there any way to make this work as it stands? |
@florealcab & @publicvirtualvoid have multiple URLs is not recommended, even if we change the file/avatar access to be relative to the current URL what happens when Rocket.Chat sends an email to the users containing a different URL (he will be redirected to a address where he is not logged in)? Can you explain why you can't redirect the other URLs to your main URL? |
@rodrigok I think we can have a main URL and alternative ones. Mails are sent to the main URL, no problem for me (indeed if the user is logged with the other one, it should not work as you say but it's not a problem for me). In my case, my main URL can be blocked on institutions using bad configured proxy, so I have an alternative URL which use a CDN to add a proxy between client and server. But I want to keep a direct connexion when all is working. That's why I have to use 2 URLs |
The behaviour @florealcab suggested would work for us. @rodrigok we want to change our main domain for certificate/SSL reasons but there are an unknown number of external integrations hitting the existing domain. |
I need this feature. Different URL is used with intra site and internet site. |
This is an essential feature, especially in cases where the URL for intranet access is different from external. As for URLs in e-mail, could add a "PREFERRED URL" field for that purpose. |
Any updates since it was not released in 0.74.0 and January has already ended? |
We are now up to the 1.1 version... any news about this feature ? @marceloschmidt |
multiple url very usefull when you use rocket.chat as livechat service on multiple sites. |
In the latest version of Rocket Chat, I have not the warning anymore when I access with an URL other than the main one. So is it fixed? |
It's not true, I haven't it but it's back (without updating), so the problem is still unsolved. Hope it will be implemented soon... |
Hello, is there any progress on this? I have a Rocket.Chat instance running with four different URLs. It all works fine with the Site URL unset, except the quotes, they only work from one URL. If a user quotes a message from a different URL that points to the Instance, but is not set with the Site URL, the quote will result in a message with a hyperlink. Any suggestions on this are welcome .. |
I really wish they would allow multiple URL definitions. For example, I need to somehow get the SSL reverse proxy working (I am currently using the web client on Android because the regular one now requires SSL) but I can't really test the reverse proxy and still have the old URL still work since the URL isn't quite the same. |
Any update on this? |
There's an odd note in the documentation for setting up SSL and RocketChat (https://docs.rocket.chat/installation/manual-installation/configuring-ssl-reverse-proxy). `
This seems to conflict with what ROOT_URL supposedly does. (Also with my setup, https://your_hostname without the port number goes to a different SSL web-service.) |
Any update on this? URL for intranet access is different from external and quotes not working correctly :( |
I can't see why a site URL even exists. Why shouldn't all connections like download files all chained to the URL which was input by user in the first place? |
Any update on this? |
Find a solution:
|
Hello guys,
We have an interesting use case that showed us a little problem, check the example bellow.
We have a server configured with the site URL as "https://weloverocketchat.com", in front of it, there's a proxy that allow users be able to access the server with different url's like "https://weloverocketchat.com.br", "https://loverocketchat.com", "https://rocketchatisthebest.com". Note that it is not a redirect because the browser should preserve the accessed url.
When we access the server with a different url that was configured, we got two little problems:
1) A warning popup to administrator.
2) An error when try to get some image from AWS S3 bucket:
The server response "403 Forbidden" when try GET {Site_URL}/file-upload/KfR8qJwaxxKWFAmrd/photo.jpg
As possible solutions suggestions, we can avoid this kind of verifications with the default site url, or make the "Site_URL" parameter a list.
What do you think about that?
Rocket.Chat Version: 0.49.3
Running Instances: 1
DB Replicaset OpLog: Enabled
Node Version: v4.5.0
The text was updated successfully, but these errors were encountered: