Closed bauerstefan closed 2 months ago
try:
environment:
SPRING_APPLICATION_JSON: '{
"spring.datasource.url": "jdbc:mariadb://mysql-hawkbit:3306/hawkbit",
"spring.rabbitmq.host": "rabbitmq",
"spring.rabbitmq.username": "guest",
"spring.rabbitmq.password": "guest",
"spring.datasource.username": "root",
"hawkbit.server.security.require-ssl": true,
"server.forward-headers-strategy": "FRAMEWORK"
}'
for details: https://github.com/eclipse/hawkbit/issues/1696#issuecomment-2075302680
try:
environment: SPRING_APPLICATION_JSON: '{ "spring.datasource.url": "jdbc:mariadb://mysql-hawkbit:3306/hawkbit", "spring.rabbitmq.host": "rabbitmq", "spring.rabbitmq.username": "guest", "spring.rabbitmq.password": "guest", "spring.datasource.username": "root", "hawkbit.server.security.require-ssl": true, "server.forward-headers-strategy": "FRAMEWORK" }'
for details: #1696 (comment)
Awesome, that did the trick. Thanks a lot!
Unfortunately the hawkbit-simple-ui on port 8088 still does http redirect. Is there another command for that? ;)
Nevermind, works the same way as you described.
server.forward-headers-strategy": "FRAMEWORK" }
Hi, my setup is simple:
Client -> =https = > NGINX (hawkbit.domain) -> =http= http://192.168.0.1:8080
Now curling from client-side shows:
Howto force hawkbit to not send http redirects? Maybe this is also a job for nginx?
I tried
with no success.
Accessing https://hawkbit.local/swagger-ui/index.html directly works without redirects.
any help is greatly appreciated.