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

Setting up tenants #14

Closed
NullSeile opened this issue Aug 19, 2022 · 1 comment
Closed

Setting up tenants #14

NullSeile opened this issue Aug 19, 2022 · 1 comment

Comments

@NullSeile
Copy link

NullSeile commented Aug 19, 2022

We are trying to set up qwc2 with tenants. We tried the following setup: /map/ which sets up the QWC_TENANT environment variable. This works fine with the default tenant, but it does a wrong redirect with every other one (i.e.: /map/<tenant-name> redirects to /<tenant-name>/map/<tenant-name>).

We noticed that this behavior is caused by the class TenantPrefixMiddleware.

We could use some help on how to set up tenants with this service and others like admin-gui which also has this behavior.

Thank you!

@tpo
Copy link
Member

tpo commented Aug 23, 2022

Please contact [email protected] in case you need commercial 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

3 participants