Fixing problems with nginx.