<div dir="auto">I am not sure if you have configured nginx with https_module. Once try that. And also add proper headers in the nginx.conf likeĀ <div dir="auto"><br></div><div dir="auto">Listen 443 ssl;</div><div dir="auto">Certificates location</div><div dir="auto"><br></div><div dir="auto">BR</div><div dir="auto">Harish Kumar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed 25 Nov, 2020, 3:53 PM Pavan P, <<a href="mailto:pavan45@gmail.com">pavan45@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I have configured nginx to authenticate with azure AD for login.</div><div><br></div><div>When I access the site <a href="http://abc.example.com" target="_blank" rel="noreferrer">abc.example.com</a> it redirects to Azure for authentication and redirects me back once the authentication isĀ complete.</div><div><br></div><div>How ever when I try to access the site with https <a href="http://abc.example.com" target="_blank" rel="noreferrer">abc.example.com</a> it does not redirect for authentication.</div><div><br></div><div>Is there anyway I can get both http and https to redirect for azure auth.</div><div><br></div><div>Regards,</div><div>Pavan</div><div><br></div></div>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank" rel="noreferrer">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></blockquote></div>