FastCGI with recent Django?

17 views
Skip to first unread message

Tim Chase

unread,
Dec 13, 2020, 12:11:12 PM12/13/20
to django...@googlegroups.com
At one point in history long past, Django 1.8 supported FastCGI via
flup

https://docs.djangoproject.com/en/1.8/howto/deployment/fastcgi/

but it was slated to be removed in 1.9 and there seem to be no
further docs I can disinter about running Django in a FastCGI
environment (all other resources I turned up are of a similar
vintage).

Is there a recommended way to run Django in a FastCGI environment
these days?

I ask largely because OpenBSD's stock `httpd` supports CGI and
FastCGI but not WSGI or other such interfaces. Push come to shove, I
could end up using relayd/httpd as a fronting proxy to some
intermediate server (like uWSGI or gunicorn?). If even that causes
issues, I *can* switch to nginx, but would prefer to stick with as
much software in the base install if possible.

Thanks,

-tkc






Reply all
Reply to author
Forward
0 new messages