Answer the question
In order to leave comments, you need to log in
How to set up ModPagespeed on Apache for a domain with https?
Installed the ModPagespeed module on the Apache server. The domain works through https. In the pagespeed.conf settings, I specified:
ModPagespeedFetchHttps enable
ModPagespeedMapOriginDomain "http://localhost" "https://site.ru"
ModPagespeedLoadFromFile "https://static.site.ru" "/var/www/web2a/data/www/site.ru/static/"
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters rewrite_css
ModPagespeedEnableFilters combine_css
ModPagespeedEnableFilters recompress_images
ModPagespeedEnableFilters convert_jpeg_to_webp
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question