I have deployed my Spring Boot app at Boxfuse with base URL as https://example.com . Now, I want to redirect the users from this URL to http://example1.com . This returns 302 status code and application is not getting deployed . I try to set the response code manually , but that does not work . Can Anybody suggest me a workaround for this ? Thanks .
If your apps has two ports http
and https
you can force the healthcheck to happen on the http
port by setting healthcheck.port
to http
. See https://cloudcaptain.sh/docs/commandline/run#healthcheck.port
This will avoid the redirect and the check should then succeed.