Upgrade to Nginx 1.6.1 and 1.7.4.