title: AccessDeniedPath path in ConfigureApplicationCookie is always redirecting to http, instead of https. My site is https
body: <p>In asp.net core 2.2, I am setting below</p>
  
  <p>But on redirect it always goes to http, instead of https. if any insight which setting I should put, as my site if already https. And it goes to http because of above redirect.</p>
  
  <p>I tried https redirect but it does not solve the issue</p>
  
  <pre><code>services.ConfigureApplicationCookie
  o.LoginPath = "/Account/Login";
  o.AccessDeniedPath = "/Account/AccessDenied";
  </code></pre>