I want to have a simple python program that can handle various requests (POST, GET, MULTIPART-FORMDATA). I do not want to use the full structure.
I basically need to be able to get the GET and POST parameters - perhaps (but not necessarily) in a way similar to PHP. To get some other SERVER variables like REQUEST_URI, QUERY, etc.
I installed nginx successfully, but I could not find a good example of how to do the rest. Therefore, a simple tutorial or any directions and ideas on how to configure nginx to run a specific python process for a specific virtual host is very welcome!
ddinchev
source share