Message Boards
Liferay 7 CE GA4 - CDN configuration
chandrakant Lotke, modified 6 Years ago.
Liferay 7 CE GA4 - CDN configuration
New Member Posts: 3 Join Date: 11/7/17 Recent Posts
Hi there,
I have deployed Liferay 7 CE GA4 on EC2 server and same can be accessible by AWS Elastic load balancer.
In order to speed up the performance of the site, I have configured the AWS CloudFront. In CloudFront, the origin domain name is set to ELB's DNS.
I have set the CDN host in CDN Host HTTP, CDN Host HTTPS, and CDN Dynamic Resources Enabled as mentioned in the post.
https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/content-delivery-network
But when I tried to access the Liferay site by CloudFront URL the dashboard page appears quickly. However, when I tried to access the public pages, it redirects to ELB. How can replace the ELB DNS with CloudFront DNS for every request?
Please note that I have configured AWS S3 as a document repository.
I have deployed Liferay 7 CE GA4 on EC2 server and same can be accessible by AWS Elastic load balancer.
In order to speed up the performance of the site, I have configured the AWS CloudFront. In CloudFront, the origin domain name is set to ELB's DNS.
I have set the CDN host in CDN Host HTTP, CDN Host HTTPS, and CDN Dynamic Resources Enabled as mentioned in the post.
https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/content-delivery-network
But when I tried to access the Liferay site by CloudFront URL the dashboard page appears quickly. However, when I tried to access the public pages, it redirects to ELB. How can replace the ELB DNS with CloudFront DNS for every request?
Please note that I have configured AWS S3 as a document repository.