How can I selectively enforce HTTPS on a health check endpoint created using ASP.NET Core Middleware Health Checks?

I’ve configured health checks using the middleware in an MVC application, but have been asked to enforce https on the health endpoint for security reasons. For separate reasons, I can’t enforce it across the service as a whole, and so I was wondering if there was a mechanism to selectively do this to just the health endpoint. While it’s possible to do this with a controller, but I can’t seem to achieve it for the endpoint created by the middleware.

Can’t redirect to another action method after form submission

I want to redirect to an action that says Order is successful, but when the form is submitted, it redirects to the same action /Checkout with error: This page isn't working. This is understandble since the query strings are not present, but this doesn’t matter to me. I want
it to redirect to /OrderComplete instead. The debugger confirmed ModelState is valid and RedirectToAction is hit every time.