changing location line to: location ^~ /media/po_compressor/ { should allow it to look for all files within this directory and sub-directories, right? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256154,256155#msg-256155