I
I
Ingerniated2018-02-09 11:20:46
Python
Ingerniated, 2018-02-09 11:20:46

How to connect python server to nginx without wsgi?

Good afternoon.
I decided to try to start the python server with enginx, but everywhere there are instructions for connecting only with wsgi, but after all, without it, you can directly configure the normal operation of python + nginx?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2018-02-09
@Ingernirated

Well, yes, you can run make_server from wsgiref.simple_server, which, oh my god, is WSGI))
But if you are a very hardcore dude, then you can build your own super-nginx, take the socket lib and do it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question