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

Fix traefik cors-configuraiton #36

Closed
rsoika opened this issue Jun 5, 2020 · 0 comments
Closed

Fix traefik cors-configuraiton #36

rsoika opened this issue Jun 5, 2020 · 0 comments

Comments

@rsoika
Copy link
Member

rsoika commented Jun 5, 2020

The cors configuration is used in imixs-cloud for the longhorn-ui. As discussed here longhorn/longhorn#1442 there is an issue with cors middleware in traefik 2.x. For that reason we should add the following additional configuration to the current setup of default cors middleware

customRequestHeaders:
  X-Forwarded-Proto: "https"

This will fix strange behavior in longhorn ui.

@rsoika rsoika added this to the 0.0.4 milestone Jun 5, 2020
rsoika added a commit that referenced this issue Jun 5, 2020
added X-Forwarded-Proto: "https" to fix longhorn-ui

Issue #36
Signed-off-by: Ralph Soika <ralph.soika@imixs.com>
@rsoika rsoika closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant