Fix nginx config bug that broke redirects.