FastCGI WSGI library in Python 3?

前端 未结 5 889
傲寒
傲寒 2021-02-19 01:52

Does there exist any library that can serve a WSGI application as a FastCGI server, for Python 3? (So that nginx could then proxy requests to it?)

The Python 3 docs ment

5条回答
  •  难免孤独
    2021-02-19 02:21

    Use flipflop instead

    pip3 install --upgrade flipflop
    

    flipflop is what did the trick for me. flup-py3 has an unresolved issue which has been standing open for a couple of years now.

    Do not forget to edit the import line in your .fcgi script to reflect this change towards using flipflop.

提交回复
热议问题