Could this work? uwsgi is not http protocol, you should translate the protocol from http to uwsgi.