mod_pagespeed使用WordPress AWS refarch提供502错误。
这是来自/etc/httpd/conf.d/wordpress.conf文件的配置文件:
ModPagespeedDomain https://www.xxxxxxxx.com
ModPagespeedDomain WordP-Publi-1AC6NOPIDQV7P-893345601.eu-west-1.elb.amazonaws.com
ModPagespeedMapRewriteDomain d3ips2dzhfxmti.cloudfront.net WordP-Publi-1AC6NOPIDQV7P-893345601.eu-west-1.elb.amazonaws.com
ModPagespeedMapOriginDomain localhost WordP-Publi-1AC6NOPIDQV7P-893345601.eu-west-1.elb.amazonaws.com
ModPagespeedShardDomain https://www.xxxxxxxx.com \
https://d3ips2dzhfxmti.cloudfront.net
源代码显示正确的路径:
<img src="https://d3ips2dzhfxmti.cloudfront.net/wp-content/themes/twentyseventeen/assets/images/xheader.jpg.pagespeed.ic.SMKCR2r_EB.webp" width="2000" height="1200" alt="This is a new WordPress site on Amazon Web Services" data-pagespeed-url-hash="2603895281" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">
但是我收到了502 Bad Gateway错误,并且没有显示任何内容。 在此先感谢您的帮助。