{"id":18845,"date":"2016-04-03T12:42:23","date_gmt":"2016-04-03T17:42:23","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18845"},"modified":"2022-06-03T03:43:41","modified_gmt":"2022-06-03T08:43:41","slug":"how-to-build-nginx-with-pagespeed-module","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/","title":{"rendered":"How to build nginx with Pagespeed module"},"content":{"rendered":"
<\/div>

\"build-nginx-with-pagespeed-module\"In this guide, we will show you how to build and install the latest stable nginx version with the ngx_pagespeed module on an Ubuntu 14.04 VPS<\/a>. With the Pagespeed module you can combine and minify CSS and JavaScript, optimize and convert images, remove comments and whitespaces from HTML, and perform many other optimizations.<\/p>\n

<\/p>\n

Login to your VPS via SSH<\/h4>\n
ssh user@vps_IP<\/pre>\n

Update the system and install necessary packages<\/h4>\n

To update your VPS and install all necessary dependencies, run:<\/p>\n

[user]$ sudo apt-get update && sudo apt-get -y upgrade\r\n[user]$ sudo apt-get install software-properties-common nano wget dpkg-dev \\ \r\n\t\t\tbuild-essential zlib1g-dev libpcre3 libpcre3-dev unzip<\/pre>\n

Download Nginx and Pagespeed Sources<\/h4>\n

Ubuntu 14.04 comes with Nginx version 1.4, to get the latest stable version of Nginx v1.8.1 we’ll need to add the Nginx PPA repository :<\/p>\n

[user]$ sudo add-apt-repository -y ppa:nginx\/stable<\/pre>\n

Edit the PPA’s sources file and uncomment the deb-src directive.<\/p>\n

[user]$ sudo nano \/etc\/apt\/sources.list.d\/nginx-stable-trusty.list<\/pre>\n
 # deb http:\/\/ppa.launchpad.net\/nginx\/stable\/ubuntu trusty main\r\ndeb-src http:\/\/ppa.launchpad.net\/nginx\/stable\/ubuntu trusty main<\/pre>\n

and update the package lists from the repositories:<\/p>\n

[user]$ sudo apt-get update<\/pre>\n

Install the Nginx build dependencies:<\/p>\n

[user]$ sudo apt-get build-dep nginx<\/pre>\n

cd to the \/usr\/local\/src<\/code> and download the Nginx source package:<\/p>\n

[user]$ cd \/usr\/local\/src\r\nsudo apt-get source nginx<\/pre>\n

download and unpack the latest ngx_pagespeed and psol modules using the following commands:<\/p>\n

[user]$ cd nginx-1.8.1\/debian\/modules\r\n[user]$ NPS_VERSION=1.10.33.6\r\n[user]$ sudo wget https:\/\/github.com\/pagespeed\/ngx_pagespeed\/archive\/release-${NPS_VERSION}-beta.zip -O release-${NPS_VERSION}-beta.zip\r\n[user]$ sudo unzip release-${NPS_VERSION}-beta.zip\r\n[user]$ cd ngx_pagespeed-release-${NPS_VERSION}-beta\/\r\n[user]$ sudo wget https:\/\/dl.google.com\/dl\/page-speed\/psol\/${NPS_VERSION}.tar.gz\r\n[user]$ sudo tar -xzvf ${NPS_VERSION}.tar.gz<\/pre>\n

Build Nginx with Pagespeed Module<\/h4>\n

Switch to the directory where you downloaded the Nginx source packages<\/p>\n

[user]$ cd \/usr\/local\/src\/nginx-1.8.1<\/pre>\n

The PPA ppa:nginx\/stable<\/code> we have previously added has multiple Nginx packages available: nginx-common, nginx-full, nginx-light, nginx-extras and nginx-doc. For this guide we will add the Pagespeed Module to the nginx-full package, to do that we need to edit the debian\/rules<\/code> file and add the module to the full_configure_flags<\/code>as shown bellow:<\/p>\n

[user]$ cat debian\/rules<\/pre>\n
full_configure_flags := \\\r\n                        $(common_configure_flags) \\\r\n                        --with-http_addition_module \\\r\n                        --with-http_dav_module \\\r\n                        --with-http_geoip_module \\\r\n                        --with-http_gunzip_module \\\r\n                        --with-http_gzip_static_module \\\r\n                        --with-http_image_filter_module \\\r\n                        --with-http_spdy_module \\\r\n                        --with-http_sub_module \\\r\n                        --with-http_xslt_module \\\r\n                        --with-mail \\\r\n                        --with-mail_ssl_module \\\r\n                        --add-module=$(MODULESDIR)\/nginx-auth-pam \\\r\n                        --add-module=$(MODULESDIR)\/nginx-dav-ext-module \\\r\n                        --add-module=$(MODULESDIR)\/nginx-echo \\\r\n                        --add-module=$(MODULESDIR)\/nginx-upstream-fair \\\r\n                        --add-module=$(MODULESDIR)\/ngx_http_substitutions_filter_module \\\r\n                        --add-module=$(MODULESDIR)\/ngx_pagespeed-release-1.10.33.6-beta\r\n<\/pre>\n

If you want to use nginx-light instead of the nginx-full you should add the same line to the light_configure_flags<\/code> block.<\/p>\n

Now we are ready to build Nginx using the following command:<\/p>\n

[user]$ sudo dpkg-buildpackage -b<\/pre>\n

The build process will take a few minutes to complete.<\/p>\n

Once the build process is complete, you will find few .deb files in the \/usr\/local\/src\/<\/code> directory.<\/p>\n

[user]$ ls -1 \/usr\/local\/src\/ | grep .deb$<\/pre>\n
nginx_1.8.1-1+trusty0_all.deb\r\nnginx-common_1.8.1-1+trusty0_all.deb\r\nnginx-doc_1.8.1-1+trusty0_all.deb\r\nnginx-extras_1.8.1-1+trusty0_amd64.deb\r\nnginx-extras-dbg_1.8.1-1+trusty0_amd64.deb\r\nnginx-full_1.8.1-1+trusty0_amd64.deb\r\nnginx-full-dbg_1.8.1-1+trusty0_amd64.deb\r\nnginx-light_1.8.1-1+trusty0_amd64.deb\r\nnginx-light-dbg_1.8.1-1+trusty0_amd64.deb\r\n<\/pre>\n

We added the Pagespeed Module to the “full” package, so we will install that package including the nginx-common package:<\/p>\n

[user]$ cd \/usr\/local\/src\r\n[user]$ sudo dpkg -i nginx-full_1.8.1-1+trusty0_amd64.deb nginx-common_1.8.1-1+trusty0_all.deb\r\n<\/pre>\n

Once the installation is complete, to see what modules are installed run nginx -V<\/code> .<\/p>\n

nginx version: nginx\/1.8.1\r\nbuilt with OpenSSL 1.0.2g  1 Mar 2016\r\nTLS SNI support enabled\r\nconfigure arguments:\r\n...\r\n--add-module=\/usr\/local\/src\/nginx-1.8.1\/debian\/modules\/ngx_pagespeed-release-1.10.33.6-beta\r\n...\r\n<\/pre>\n

Create a directory for the cached files:<\/p>\n

[user]$ sudo mkdir -p \/var\/ngx_pagespeed_cache\r\n[user]$ sudo chown -R www-data: \/var\/ngx_pagespeed_cache<\/pre>\n

Create a new nginx configuration for the Pagespeed Module.<\/p>\n

[user]$ sudo nano \/etc\/nginx\/pagespeed.conf<\/pre>\n
pagespeed on;\r\npagespeed FileCachePath \/var\/ngx_pagespeed_cache;\r\n\r\nlocation ~ \"\\.pagespeed\\.([a-z]\\.)?[a-z]{2}\\.[^.]{10}\\.[^.]+\" {\r\n  add_header \"\" \"\";\r\n}\r\nlocation ~ \"^\/pagespeed_static\/\" { }\r\nlocation ~ \"^\/ngx_pagespeed_beacon$\" { }\r\n\r\n# Minify CSS\r\n# pagespeed EnableFilters combine_css,rewrite_css;\r\n\r\n# Minify JS \r\n# pagespeed EnableFilters combine_javascript,rewrite_javascript;\r\n\r\n# Remove comments and whitespace from HTML \r\n# pagespeed EnableFilters remove_comments,collapse_whitespace; \r\n<\/pre>\n

You can uncomment the filters you need for your website or add a new ones, for more info about Pagespeed filters please check the official PageSpeed<\/a> documentation.<\/p>\n

In every Nginx server block where you want to enable the PageSpeed Module add:<\/p>\n

include \/etc\/nginx\/pagespeed.conf;<\/pre>\n

Example:<\/p>\n

server {\r\n\r\n    listen      80;\r\n    server_name your_website;\r\n    root \/path\/to\/website;\r\n\t\r\n    include \/etc\/nginx\/pagespeed.conf;\r\n    # omitted code\r\n}\r\n<\/pre>\n

Restart your nginx service and you are ready to go.<\/p>\n

[user]$ sudo nginx -t\r\n[user]$ sudo service nginx restart<\/pre>\n
\n

Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24×7 and will take care of your request immediately.<\/p>\n

PS<\/strong><\/span>. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"

In this guide, we will show you how to build and install the latest stable nginx version with the ngx_pagespeed … <\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":18847,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1704,13,1707],"tags":[49,1161],"yoast_head":"\nHow to build nginx with Pagespeed module - RoseHosting<\/title>\n<meta name=\"description\" content=\"How to build nginx with Pagespeed module - RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to build nginx with Pagespeed module - RoseHosting\" \/>\n<meta property=\"og:description\" content=\"How to build nginx with Pagespeed module - RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-03T17:42:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:43:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to build nginx with Pagespeed module\",\"datePublished\":\"2016-04-03T17:42:23+00:00\",\"dateModified\":\"2022-06-03T08:43:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\"},\"wordCount\":452,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png\",\"keywords\":[\"nginx\",\"pagespeed\"],\"articleSection\":[\"Optimization\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\",\"name\":\"How to build nginx with Pagespeed module - RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png\",\"datePublished\":\"2016-04-03T17:42:23+00:00\",\"dateModified\":\"2022-06-03T08:43:41+00:00\",\"description\":\"How to build nginx with Pagespeed module - RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to build nginx with Pagespeed module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"name\":\"RoseHosting\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RoseHosting\",\"https:\/\/x.com\/rosehosting\",\"https:\/\/www.linkedin.com\/in\/rosehosting\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\/\/www.rosehosting.com\",\"https:\/\/www.facebook.com\/rosehosting.helpdesk\"],\"url\":\"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to build nginx with Pagespeed module - RoseHosting","description":"How to build nginx with Pagespeed module - RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/","og_locale":"en_US","og_type":"article","og_title":"How to build nginx with Pagespeed module - RoseHosting","og_description":"How to build nginx with Pagespeed module - RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2016-04-03T17:42:23+00:00","article_modified_time":"2022-06-03T08:43:41+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to build nginx with Pagespeed module","datePublished":"2016-04-03T17:42:23+00:00","dateModified":"2022-06-03T08:43:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/"},"wordCount":452,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png","keywords":["nginx","pagespeed"],"articleSection":["Optimization","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/","name":"How to build nginx with Pagespeed module - RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png","datePublished":"2016-04-03T17:42:23+00:00","dateModified":"2022-06-03T08:43:41+00:00","description":"How to build nginx with Pagespeed module - RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/03\/build-nginx-with-pagespeed-module.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-build-nginx-with-pagespeed-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to build nginx with Pagespeed module"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"]},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18845"}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=18845"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18845\/revisions"}],"predecessor-version":[{"id":41988,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18845\/revisions\/41988"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/18847"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=18845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=18845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=18845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}