Skip to content
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

Support for multi domain setups #292

Open
EnderArchery opened this issue Oct 29, 2024 · 0 comments
Open

Support for multi domain setups #292

EnderArchery opened this issue Oct 29, 2024 · 0 comments

Comments

@EnderArchery
Copy link

EnderArchery commented Oct 29, 2024

Hi it would be nice if the built in server would work on a multi domain setup. Currently, only the domain that was used while accessing the admin settings is working.

Unfortunately it's not enough to add other lok allowed domains.
This would... make the code server treat each domain as a new nextcloud instance, allowing the same file to be opened for each of them, without a collaborative session. (resulting in conflicts)

With the docker image, the process is as follows
Set an environment variable called aliasgroup1
set it to
https://<primarydomain>,https://(<secondarydomain>)|(<tertiarydomain>)|....
the primary domain is the one that collabora uses to request the file from nextcloud even if it's one of the aliases.

(Warning, in the newest docker image, this has suddenly stopped working, the aliases aren't allowed to access the server anymore... reason unknown. Maybe it's something to do with the lok functionality and the fact that the aliases are determined using regex... which the lok stuff doesn't support?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant