legacy-knowledge-base
公開されました Sep. 10, 2025

https を使用して DXP にアクセスしますが、CDN の URL は http を使用します

written-by

Javier Moral

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

問題

  • SSL オフロードを担当する DXP ノードの前にロード バランサーがあり、CDN の使用が構成されている場合、https プロトコルを使用して DXP にアクセスすると、コンテンツは https ではなく http を使用して CDN からダウンロードされます。
  • CDN の使用は、次のプロパティを使用して構成されています (値は架空のものです)。
#
# Set the hostname that will be used to serve static content via a CDN for
# requests made over the HTTP protocol. This property can be disabled
# dynamically at runtime by setting the URL parameter "cdn_enabled" to "0".
# The value must always include the full protocol.
#
cdn.host.http=http://localhostCDN

#
# Set the hostname that will be used to serve static content via a CDN for
# requests made over the HTTPS protocol. This property can be disabled
# dynamically at runtime by setting the URL parameter "cdn_enabled" to "0".
# The value must always include the full protocol.
#
cdn.host.https=https://localhostCDN

環境

  • Liferay DXP 7.0+

解決策

did-this-article-resolve-your-issue

legacy-knowledge-base