Fix nginx config for redirect.