legacy-knowledge-base
公開されました Jul. 2, 2025

リモート ライブ ステージング用のインスタンスの構成

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • テスト目的で、localhost を使用してリモート ライブ ステージング用のサーバーを構成します。

Environment

  • ライフレイ 7.3 GA1

解決策

  • 詳細な手順は次のとおりです。
    • 両方の Liferay Portal インスタンスの TunnelAuthVerfierConfiguration を更新します
      • コントロール パネル → システム設定 → API 認証 → トンネル認証に移動します。
      • /api/liferay/do」をクリックします 追加の IP アドレスを挿入します (ローカルホストに置き換えることができます)
        (ステージングインスタンスにはリモートサーバーの IP が必要であり、その逆も同様です)
      • [更新] をクリックします。
    • 両方のインスタンスの portal-ext.properties ファイルに次の構成を配置します。
      • tunneling.servlet.shared.secret=F0E1D2C3B4A5968778695A4B3C2D1E0F
        tunneling.servlet.shared.secret.hex=true
    • 次の行をリモート Liferay サーバーの portal-ext に追加します。 プロパティ ファイル:
      • tunnel.servlet.hosts.allowed=127.0.0.1,SERVER_IP,[STAGING_IP]
        注: [STAGING_IP] localhost に置き換えることができます
    • 両方のサーバーを再起動します。
    • 以下の値を入力して、リモート ステージングをセットアップします。
      リモート ホスト/IP
      リモート ポート
      リモート サイト ID
      • 注: これらの設定は、ステージング サーバーでのみ行う必要があります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base