<div dir="ltr">I asked <a href="https://stackoverflow.com/q/69642063/1772898">After Nginx Unit, Do we still need ASGI like Uvicorn, Hypercorn, Daphne etc</a> <div><br></div><div>There one comment confused me. The comment says:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">nginx unit is an ASGI compliant server; you're replacing
uvicorn/hypercorn/daphne/etc. with nginx unit instead. It's a choice you
make just like you'd make using either of those three or other
alternatives.</blockquote><div>
<p>I am not understanding what it means. Does it mean, I have to install
both nginx and nginx unit where nginx unit is the replacement for
uvicorn / hypercorn / daphne etc. Or, nginx unit alone can do what nginx
+ uvicorn / hypercorn / daphne etc. does.</p><p>I asked the same question on <a href="https://github.com/tiangolo/fastapi/issues/3128#issuecomment-947391963">FastAPI</a><a href="https://github.com/tiangolo/fastapi/issues/3128#issuecomment-947391963"> github repo</a>. There one part of the answer is unclear to me.</p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">But, but, you will probably need https anyway, I personally prefer
some proxy, I didn't even try Nginx Unit "way" of applying tls but there
is one apparently. Nginx Ingress, traefik for k8s, nginx proxy manager
for swarm, alone traefik docker image or full nginx, probably tens of
other solutions.<br></blockquote><p>
</p><p>What I understood is I need to do few more things after installing nginx unit. However, the above quote is not clear to me. Can anyone please explain what he meant by it. And do I need to install other stuff after installing nginx unit?</p><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Thanks and Best Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ahmad Ismail</span></p></b></div></div></div></div></div></div>