mliezun
(Miguel Liezun)
February 16, 2024, 8:59pm
1
Im working on a plugin that embeds the Python interpreter in Caddy and can serve requests directly without going through a reverse proxy or starting a new process (CGI).
It’s called caddy-snake and available to be bundled with caddy. It requires CGO when building.
matt
(Matt Holt)
February 17, 2024, 12:13am
3
This is awesome. It’s one of our oldest feature requests:
opened 02:49PM - 02 Jul 15 UTC
closed 11:07PM - 01 Apr 20 UTC
feature
plugin
I don't have time (or expertise) to contribute this but I'd definitely be intere… sted in using it so I figured I'd create the feature request and try to gather interest.
I :heart: Caddy and want to use it for all the things. That includes serving up my Django app via WSGI.
I imagine this working similar to the `proxy` directive where you tell it to serve some directory via WSGI. (Forgive my perhaps incorrect use of terms, I'm a Python noob.)
I found [this package](http://godoc.org/bitbucket.org/classroomsystems/wsgi) for serving WSGI apps via Go but not sure of its production readiness.
Thanks for building and sharing it!
mliezun
(Miguel Liezun)
February 17, 2024, 1:49pm
4
Thanks!
I was looking for a plugin like this myself and I couldn’t find one so I decided to build it