hi, thanks you right, so i must add a location like this : location ~logo_(\d+)_(\d+).gif$ { My regex is correct ? (ex: logo_5435_252.gif logo_25_1.gif etc..) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253740,253745#msg-253745