You might want to check if this solution also works for you on Nginx: No thumbnails generated on Nginx