Do you need to put another server in front of it for https or has Gunicorn https handling built in?
Do you need to put another server in front of it for https or has Gunicorn https handling built in?
mod_wsgi is a much less flexible setup when it comes to mixing and matching different python versions
So same number of moving parts either way.
Seems easier to just "apt install libapache2-mod-wsgi-py3" and put a "WSGIScriptAlias" directive into your apache config than to run another piece of software?
I wouldn’t leave Gunicorn “naked” for want of a better word, or use it for static files though.
> Although there are many HTTP proxies available, we strongly advise that you use Nginx. If you choose another proxy server you need to make sure that it buffers slow clients when you use default Gunicorn workers. Without this buffering Gunicorn will be easily susceptible to denial-of-service attacks.
But probably it's still a good idea to use them.