Fix nginx config generation