I recently had a load balancer added in front of my website. The loadbalancer will make a HEAD / request, and expect a 200 ok.
Unfortunately, no matter what I do I'm faced with a 302 redirect (to whatever default controller i specify).
This causes the load balancer to believe the website is down. Unfortunately the load balancer is not something I can configure, or otherwise change behavior.
Quite simply, Whenever a HEAD / request is issued, I would like to return 200 ok. Preferably only for HEAD requests, to make the load balancer happy.
Any suggestions or ideas for how to do this?