About sanic deployment

Hi, I want to deploy the sanic on apache, but I don’t know how to configure.

Please help me, thanks!

Sanic will not run on apache since it is a Python application. It has a built-in server, or you can use it with an ASGI server like uvicorn or hypercorn. You can then place apache in front of that server as a proxy if you want.

Excuse me,Is it stable with the built-in server? Will there be problems in the production environment?

Yes it is stable, and scalable. I cannot predict what problems you may or may not face not knowing your application, hosting, requirements, etc.

Ok, thanks very much! :heart: :heart: :heart:

1 Like

Happy to help if I can. If you’re interested, I discuss deployment options here: https://subscription.packtpub.com/book/web-development/9781801814416/10

1 Like

I can’t join in because the registration was not successful .