Can nginx run a unix command based on url?

Posted by Geuis on Stack Overflow See other posts from Stack Overflow or by Geuis
Published on 2010-03-17T07:07:25Z Indexed on 2010/03/17 7:11 UTC
Read the original article Hit count: 425

Filed under:
|
|

Is it possible to configure nginx to run a unix command based on a url?

For example:

http://localhost/list/usr/local

This runs:

ls /usr/local

Then returns the results?

© Stack Overflow or respective owner

Related posts about nginx

Related posts about url