Last active
March 16, 2017 07:01
-
-
Save vinacms/cc7842db0ea49c37fc9c4032804b658b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ModPagespeed on | |
ModPagespeedInheritVHostConfig on | |
ModPagespeedRespectVary on | |
ModPagespeedPreserveUrlRelativity on | |
ModPagespeedFetchHttps enable | |
ModPagespeedLowercaseHtmlNames on | |
ModPagespeedDisableRewriteOnNoTransform off | |
ModPagespeedModifyCachingHeaders on | |
ModPagespeedXHeaderValue "Powered By mod_pagespeed" | |
#ModPagespeedMapOriginDomain "http://52.77.57.185" "https://52.77.57.185" | |
ModPagespeedCssFlattenMaxBytes 10000000000 | |
ModPagespeedCssInlineMaxBytes 10000000000 | |
ModPagespeedCssOutlineMinBytes 10000000000 | |
ModPagespeedJsInlineMaxBytes 10000000000 | |
ModPagespeedJsOutlineMinBytes 10000000000 | |
ModPagespeedMaxCombinedCssBytes 10000000000 | |
ModPagespeedMaxCombinedJsBytes 10000000000 | |
ModPagespeedMaxInlinedPreviewImagesIndex 10000000 | |
ModPagespeedImageResolutionLimitBytes 10000000000 | |
ModPagespeedRewriteLevel OptimizeForBandwidth | |
ModPagespeedEnableFilters inline_import_to_link,flatten_css_imports,outline_css,inline_css,inline_google_font_css,combine_css | |
ModPagespeedEnableFilters outline_javascript,inline_javascript,combine_javascript | |
ModPagespeedEnableFilters extend_cache,insert_dns_prefetch,remove_comments,remove_quotes | |
ModPagespeedEnableFilters dedup_inlined_images,inline_preview_images,resize_mobile_images,convert_gif_to_png,convert_png_to_jpeg,convert_jpeg_to_webp,convert_to_webp_animated,convert_to_webp_lossless,inline_images,insert_image_dimensions,recompress_images,resize_images | |
ModPagespeedEnableFilters convert_meta_tags,combine_heads,collapse_whitespace,make_google_analytics_async | |
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html | |
<VirtualHost *:80> | |
ServerName ideasvn.com | |
ServerAlias www.ideasvn.com cdnjs.ideasvn.com cdncss.ideasvn.com cdnimg.ideasvn.com | |
ServerAdmin dev.phpjs@gmail.com | |
DocumentRoot /var/www/html/ideasvn/frontend/web | |
<Directory /var/www/html/ideasvn/frontend/web> | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
Require all granted | |
<IfModule mod_expires.c> | |
# Turn on the module. | |
ExpiresActive on | |
# Set the default expiry times. | |
ExpiresDefault "access plus 2 days" | |
ExpiresByType image/jpg "access plus 1 month" | |
ExpiresByType image/gif "access plus 1 month" | |
ExpiresByType image/jpeg "access plus 1 month" | |
ExpiresByType image/png "access plus 1 month" | |
ExpiresByType text/css "access plus 1 month" | |
ExpiresByType text/javascript "access plus 1 month" | |
ExpiresByType application/javascript "access plus 1 month" | |
ExpiresByType application/x-shockwave-flash "access plus 1 month" | |
ExpiresByType text/css "now plus 1 month" | |
ExpiresByType image/ico "access plus 1 month" | |
ExpiresByType image/x-icon "access plus 1 month" | |
ExpiresByType text/html "access plus 600 seconds" | |
CacheDefaultExpire 600 | |
CacheMaxExpire 2678400 | |
CacheLastModifiedFactor 0.5 | |
Header set Cache-Control public | |
Header set Access-Control-Allow-Origin "*" | |
</IfModule> | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/error_kenhtinnhadat.log | |
CustomLog ${APACHE_LOG_DIR}/access_kenhtinnhadat.log combined | |
ModPagespeedShardDomain ideasvn.com cdnjs.ideasvn.com,cdncss.ideasvn.com,cdnimg.ideasvn.com | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment