Added /app/classes/upload rule for Nginx, suggested by @rihards