Fix issues with nginx.