Report this

What is the reason for this report?

Best PPA for Nginx with Google Pagespeed

Posted on February 18, 2017

I’ve been trying to install PageSpeed on an existing Nginx server for the last 12 hrs with no luck, I keep running into different errors and having to read over and again to solve them. This is my first VPS

But I understand that some PPAs have this inbuilt. I don’t mind starting a new server to have this installed from the scratch and rebuild WP on it. I know that Easyengine had it but took Pagespeed out in Ver 3.6

Any other PPA suggestions will be welcome



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi! @jtittle @jtittle1 ,

Is this still working? ubuntu 16.04x64 1G

cd /usr/local/src git clone https://github.com/serveradminsh/installers.git

cd installers/nginx chmod +x installer.sh ./installer.sh or cd /opt/installers/nginx chmod +x installer.sh ./installer.sh

Then copy above nginx.conf, fastcgi_params, and domain.com.conf?

I’m totally new on droplets. I tried installing ngx_pagespeed + ssl with no avail. Well, I have a working L E MariaDB P and WP, but after installing fastcgi, redis, phpredis I don’t know how to purge the cache, I don’t even know if the modules are properly working. I hope ngx_cache_purge will not give me headache.

What will be the best droplet for this kind of installation? Can I stay in ubuntu16.04 lts 1g x 64? I don’t have much traffic, just started.

Thanks

@jtittle Why does it overwrite my nginx every time I upgrade my server and there is an new nginx version. I gotta go offline every time to fix it. Anyways to stop that?

Thank you I appreciate everything you do.

@jtittle

WOW! This is by far the most reliable and amazing approach of setting up an nginx server…and trust me…i am looking around for a while.

I have followed each step and must admit that i struggled a little when setting up pagespeed and naxsi because of no documentation, but found solutions thru the web.

I can provide some handpicked pagespeed-configs if you’d like to integrate them in your examples. Let me know if that’s interesting.

My next step is to install different php versions (5.6, 7,0 7.1) and be able to switch between them in server blocks. Any idea how to achieve that without facing big troubles?

HHVM is also worth noticing and might be a good idea to integrate in your installers. What do you think?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.