
# Ensure requests for pagespeed optimized resources go to the pagespeed handler Pagespeed EnableFilters combine_css,combine_javascript,combine_heads,convert_meta_tags,recompress_images Pagespeed FileCachePath /var/cache/ngx_pagespeed_cache # Needs to exist and be writable by nginx. Lastly PageSpeed needs to be enabled for given domain under plesk:
#Rtmp server ubuntu 17.10 install
In addition in my install I needed to enable the passenger_module first. add-module=/usr/share/nginx/modules/ngx_headers-more-0.32 add-module=/usr/share/nginx/modules/ngx_slowfs_cache-1.10 \ add-module=/usr/share/nginx/modules/ngx_coolkit-0.2 \ add-module=/usr/share/nginx/modules/ngx_cache_purge-2.3 \ add-module=/usr/share/passenger/ngx_http_passenger_module \ add-module=/usr/share/nginx/modules/ngx_pagespeed-1.12.34.3-stable \ add-module=/usr/share/nginx/modules/ngx_brotli \ http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ http-scgi-temp-path=/var/lib/nginx/scgi \ http-proxy-temp-path=/var/lib/nginx/proxy \ http-fastcgi-temp-path=/var/lib/nginx/fastcgi \

http-client-body-temp-path=/var/lib/nginx/body \ error-log-path=/var/log/nginx/error.log \ and please don't forget, to setup your NEW ciphers lists at " /etc/nginx/conf.d/ ssl.conf" as for example: Pagespeed EnableFilters in_place_optimize_for_browser Pagespeed EnableFilters remove_quotes,dedup_inlined_images,insert_dns_prefetch,remove_comments,collapse_whitespace

Pagespeed EnableFilters elide_attributes,extend_cache_pdfs,sprite_images,trim_urls,pedantic Pagespeed EnableFilters include_js_source_maps,canonicalize_javascript_libraries,local_storage_cache,convert_to_webp_lossless,insert_image_dimensions

Pagespeed EnableFilters prioritize_critical_css,make_google_analytics_async,outline_css,outline_javascript,move_css_to_head Pagespeed EnableFilters lazyload_images,inline_preview_images,resize_mobile_images,inline_google_font_css,rewrite_style_attributes Pagespeed EnableFilters combine_css,rewrite_css,move_css_above_scripts,combine_javascript,rewrite_javascript Pagespeed FileCachePath /var/ngx_pagespeed_cache Pagespeed XHeaderValue "Powered by ngx_pagespeed and UF" consider to open a NEW thread in the forum.īe sure that you have the following packages installed on your server, before you start ( depending to your operating system, this list might vary! ): If you desire help for depending configurations, pls. note, that this thread just describes the COMPILING STEPS and not possible NGINX - configurations, because that would go beyond the scope. Google Pagespeed, the availability to use the "cache_purge" - module, or to use the "headers_more" - features ) and sometimes, they don't want to wait for Plesk updates/upgrades/patches for actual NGINX releases, to be "up-to-date" for their customers. Some Plesk - users just don't want to wait for NGINX features, which are global standards by now ( i.e.
#Rtmp server ubuntu 17.10 how to
I noticed, that Plesk doesn't provide a decent solution/description/documentation on " How to compile NGINX with additional modules" yet and unfortunately, there is no KB - article for this as well, which provides the necessary steps. Global informations for this Plesk - contribution:
