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

Liferayは、Webサイトアドレスの横にポート番号を記載した電子メール通知を送信します。

投稿者

Alfonso Crisci

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Liferay の電子メール通知 (例: 新しいアカウントの作成、パスワードのリセットリンクなど) を受信すると、ユーザーはアプリケーションサーバのポート番号が Web サイトドメインに追加されていることに気付く場合があります (例: www.myliferayportal.com:8080

解決

  • Portal 6.2
  • Liferay DXP 7.0+

解決

  • portal-ext.properties ファイルでこれらのプロパティを利用すると、:PORT の動作が解決されます。
    ##
    ## Web Server
    ##
    #
    # Set the HTTP and HTTPs ports when running the portal in a J2EE server that
    # is sitting behind another web server like Apache. Set the values to -1 if
    # the portal is not running behind another web server like Apache.
    #
    # Env: LIFERAY_WEB_PERIOD_SERVER_PERIOD_HTTPS_PERIOD_PORT
    # Env: LIFERAY_WEB_PERIOD_SERVER_PERIOD_HTTP_PERIOD_PORT
    #
    web.server.http.port=-1
    web.server.https.port=-1
    例えば、 www.myliferayportal.com:8080 から:8080を削除する場合や、 www.myliferayportal.com:443から:443を削除する場合は、以下が役立ちます:
    web.server.http.port=80
    web.server.https.port=443

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base