Wenn Sie eine benutzerdefinierte nginx.conf auf Google Kubernetes Engine verwenden möchten, erweitern Sie diese Beispiel-nginx.conf, um die Datei vorzubereiten. Dies ist ein Snippet aus der Konfiguration, die für Cloud Endpoints benötigt wird:
Bearbeiten Sie die Kubernetes-Konfigurationsdatei, z. B. esp_echo_custom_config_gke.yaml und ersetzen Sie SERVICE_NAME mit dem Namen Ihres Endpoints-Dienstes.