Legacy Knowledge Base
公開されました Sep. 10, 2025

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

Written By

Javier Moral

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 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