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)
Comments
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
What would an installation look like for those who already have NGINX, installed with ISPConfig?
Hi, is there a chance to have this tutorial for Ubuntu 18? That'd be awesome!
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!
Thank You for the tutorial. It is good to have you guys writing these tutorials that help the novice as I am.
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
this line is incorrect: cp objs/ngx_pagespeed.so /usr/share/nginx/modules/
it should be:
cp objs/ngx_pagespeed.so /etc/nginx/modules-enabledsorry 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