設定 HTTP 通訊埠

根據預設,透過 Apigee Developer Services 入口網站 (或簡稱入口網站) 安裝的 NGINX 伺服器會監聽通訊埠的要求 8079。請按照以下程序將 NGINX 設為使用其他通訊埠:

  1. 確認所需通訊埠編號已在邊緣節點上開啟。
  2. 在編輯器中開啟 /opt/apigee/customer/application/drupal-devportal.properties。 如果檔案和目錄不存在,請建立該檔案和目錄。
  3. drupal-devportal.properties 中設定下列屬性:
    conf_devportal_nginx_listen_port=PORT

    其中 PORT 是新的通訊埠編號。

  4. 儲存檔案。
  5. 重新啟動入口網站:
    /opt/apigee/apigee-service/bin/apigee-service apigee-drupal-devportal restart