[ANN] Windows nginx WhiteRabbit

c0nw0nk nginx-forum at nginx.us
Fri Aug 1 12:03:42 UTC 2014

Yeah i thought that would not be allowed for some reason.

Does anyone know a way you can execute a program via the echo module or
another way with the lua module ?

location ~* \.(jpg|png|jpeg|ico|gif|bmp)$ {
echo "$http_host$request_uri";

That should echo the url of the image then i just need to input that uri
into one of the command line tools to compress it.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252064,252199#msg-252199

More information about the nginx mailing list