Fix nginx config issues