In my local setup, mod_pagespeed does rewrite assets to use the configuted cdn domain perfectly.
However, if i access the site via https, it does not rewrite a single asset.
Thou pagespeed is active on https sites (
debug output and Headers show this) and there is no error in stdoutput/erroutput or the log.
I have been trying to get this to work for two days now and i am stuck.
Here is my config and i also added the debug output of the https call:
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedSslCertDirectory "/etc/ssl/certs"
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters rewrite_domains,debug
ModPagespeedDomain cdn.example.dev
ModPagespeedMapRewriteDomain cdn.example.dev *example.dev
</IfModule>
Here's the debug output from the html:
<!--
mod_pagespeed on
Filters:
db Debug
hw Flushes html
rd Rewrite Domains
Options:
EnableRewriting (e) 1
FileCacheInodeLimit (afcl) 500000
ModifyCachingHeaders (mch) True
RespectXForwardedProto (rxfp) True
RewriteDeadlinePerFlushMs (rdm) 10
RewriteLevel (l) Pass Through
StatisticsLogging (asle) True
#NumFlushes 0
#EndDocument after 2549us
#Total Parse duration 2169us
#Total Render duration 1769us
#Total Idle duration 380us
The following filters were disabled for this request:
SupportNoscript
-->
How do i get mod_pagespeed to rewrite urls on https as well?