Comments on How to Install Nginx with Google PageSpeed on Ubuntu 20.04

Nginx is a free and open-source web server that powers many sites on the internet. It can be used as a reverse proxy and load balancer. In this tutorial, we will show you how to compile ngx_pagespeed as a dynamic module with Nginx on Ubuntu 20.04 server.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Tomas

Hi,

I'm getting following error:

root@skuodasltssd:/nginx-1.18.0# apt-get build-dep nginx

Reading package lists... Done

 

E: You must put some 'deb-src' URIs in your sources.list

By: Isai

What would an installation look like for those who already have NGINX, installed with ISPConfig?

By: AlexSr

Hi, is there a chance to have this tutorial for Ubuntu 18? That'd be awesome!

By: AlexSr

I think it would be very helpful to clearly state in the intro whether one can proceed with this install on an operational ISP Config set up and any insight on that regard. Thank you!

By: Fred

Thank You for the tutorial. It is good to have you guys writing these tutorials that help the novice as I am.

Fred

By: Fred

For anyone reading this "How to Install Nginx with Google PageSpeed on Ubuntu 20.04" and wondering if you can get it going on an existing Ubuntu-Nginx site, the answer is yes. Remember to check you nginx version #nginx -v and change this line #sudo wget http://nginx.org/download/nginx-1.18.0.tar.gz to your version.

Fred

By: Social Niche Guru

this line is incorrect: cp objs/ngx_pagespeed.so /usr/share/nginx/modules/

 

it should be:

cp objs/ngx_pagespeed.so /etc/nginx/modules-enabled

By: Social Niche Guru

sorry my last comment was incorrect

I think you want us to create 

mkdir /etc/nginx/modules directory if it does not already exist.

I do not think you want to copy objs/ngx_pagespeed.so to /etc/nginx/modules-enabled but instead to /etc/nginx/modules