views:

33

answers:

1

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?

+2  A: 

No, Nginx cannot.

Alexander Azarov