Open the ELMAH controller and add the following attribute:
[RequireHttps]
Example:
using System.Web.Mvc;
namespace Elmah.Mvc
{
[Authorize]
[RequireHttps]
public class ElmahController : Controller
{
public ActionResult Index(string resource)
{
/* Adapted by Alexander Beletsky */
return new ElmahResult();
}
public ActionResult Detail(string resource)
{
/* Adapted by Alexander Beletsky */
return new ElmahResult();
}
}
}
Source code for the ELMAH controller taken from GitHub project