Improved nginx config for better performance