nginx and python script

Sergey A. Osokin osa at freebsd.org.ru
Tue Jan 7 00:14:36 UTC 2025


Hi,

On Fri, Dec 27, 2024 at 10:15:15PM +0100, Ralf Figge via nginx wrote:
[...]
> 
> i am a newbee from nginx. I need to run a python script via cgi-bin.

That isn't nginx business to run cgi-bin scripts, but nginx can proxy
a request to an application server behind.

For the application server role you may want to take a look on NGINX
Unit, https://unit.nginx.org/, the universal "polyglot" dynamic
application server, that can "natively" run python,
https://unit.nginx.org/configuration/#python, and other applications.

Thank you.

-- 
Sergey A. Osokin


More information about the nginx mailing list