Upgrading nginx pagespeed and other bug fixes