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

Wrong URLs generated, when configured to use Traefik proxy #2379

Open
martin5233 opened this issue Aug 8, 2024 · 2 comments
Open

Wrong URLs generated, when configured to use Traefik proxy #2379

martin5233 opened this issue Aug 8, 2024 · 2 comments

Comments

@martin5233
Copy link

Bug report

Expected Behavior

When clicking on any link in the UI, CDash should use the URL configured in APP_URL or MIX_URL

Actual Behavior

Configuration is as follows:
APP_URL=https://hostname/CDash3
MIX_APP_URL="${APP_URL}"

I have located two places, where this isn't the case:

CDash Version

3.5.0rc3

Additional Information

storage/logs is empty, even though APP_DEBUG is set to true.
Traefik is configured as follows (if relevant at all):
- "com.docker.compose.project=cdash3"
- "traefik.http.middlewares.cdash3-stripprefix.stripprefix.prefixes=/CDash3"
- "traefik.http.routers.cdash3-ssl.entrypoints=webssl"
- "traefik.http.routers.cdash3-ssl.rule=PathPrefix(/CDash3)"
- "traefik.http.routers.cdash3-ssl.tls"
- "traefik.http.routers.cdash3-ssl.middlewares=cdash3-stripprefix@docker"
- "traefik.http.services.cdash3-ssl.loadbalancer.server.port=8080"
- "traefik.enable=true"

@williamjallen
Copy link
Collaborator

Hi @martin5233, I suspect that #2508 may have resolved your issue. Can you confirm whether this problem still occurs with CDash 3.6.1?

@martin5233
Copy link
Author

Hi @williamjallen : Unfortunately I can neither confirm that it works nor that it doesn't. As this was a blocking issue for us, we decided to change the URL, such that there is no path component, which triggered the bug.

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

2 participants