-
Notifications
You must be signed in to change notification settings - Fork 191
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
No matter what I do DDI root resource query returns a http instead of https href #1696
Comments
I found the culprit. Turns out that the nginx configuration given in Hawkbit documentation is incomplete and needs to contain |
Setting
I tried setting
My setup is hawkbit 0.4.1 in docker compose with mysql 8.3 behind a traefik 2.11.0 reverse proxy running on Ubuntu 20.04.6 LTS with docker 26.1.0, build 9714adc.
and the traefik configuration
|
I'm running hawkbit spun with docker compose from the
docker-compose-monolith-mysql.yml
config file. Then my SWUpdate-based clients access it through a nginx reverse proxy for mTLS auth. The clients are configured to hit a https url. Initial plug-and-play registration of clients works fine, and I can see them polling the server fine. But once it comes to an artifact being available for download, and clients getting an answer containing "deploymentBase" to the root resource query, the link provided there by hawkbit is http instead of https (which then fails).I've tried changing the relevant property (i.e.
server.forward-headers-strategy=NATIVE
) by adding it to the docker-compose file with other JAVA_OPTS, by adding it toapplication-mysql.properties
, as well as by introducing theSERVER_FORWARD-HEADERS-STRATEGY=NATIVE
environmental variable. None of them resolves my problem.The nginx configuration is pretty much identical to the one in Hawkbit documentation obviously except for my specific hostname, certificate issuer hash etc.
Is this a bug or have I not configured the thing correctly?
The text was updated successfully, but these errors were encountered: