Re: nginx and python script

2024-12-27 Thread Jeff Dyke
Pass {serial} to your proxy from a normal nginx args variable. location /another_script { proxy_pass http://server/cgi-bin/another_script.py? $args } And then you'll likely want to change from environ to the query string. I would also make

nginx and python script

2024-12-27 Thread Ralf Figge via nginx
Hello, i am a newbee from nginx. I need to run a python script via cgi-bin. I search for information about python and nginx, and found fcgiwrap und uwsig. I test uwsig (as cgi-bin), but there i become only error 502 Gateway error. fcgiwrap looks like better, But i have 1 problem with it: Here