[HOWTO] Proxy Template for Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one
Posted: Tue Feb 18, 2020 2:13 pm
Hi you all.
I have combine Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one.
It's not perfect but I would like some feedback so we can work together and make this template AWESOME :)
First you need to install Google Page speed, I use this guide https://github.com/Prihod/vestacp_nginx_pagespeed_http2
This will rebuild Nginx with Google PageSpeed and http/2 for VestaCP.
Overwrite templates default.stpl and default.tpl.
Rebuild config Nginx for all sites.
You will need to do.
Download the file
https://mega.nz/#!FNJxnSDR!aA_VONuSxBOB ... bjL7UiwvIk
Upload the zip file via ftp client to you public_html folder and move it to
unzip the file and you will have 2 files lite2speed.tlp and lite2speed.stpl
Next: go to VestaCP / web find the domain you want to test and change the Proxy Template to Lite2speed
I have combine Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one.
It's not perfect but I would like some feedback so we can work together and make this template AWESOME :)
First you need to install Google Page speed, I use this guide https://github.com/Prihod/vestacp_nginx_pagespeed_http2
This will rebuild Nginx with Google PageSpeed and http/2 for VestaCP.
Overwrite templates default.stpl and default.tpl.
Rebuild config Nginx for all sites.
You will need to do.
Code: Select all
cd /usr/local/src/
git clone https://github.com/Prihod/vestacp_nginx_pagespeed_http2.git
cd vestacp_nginx_pagespeed_http2/
chmod +x rebuild.sh
sudo ./rebuild.sh
https://mega.nz/#!FNJxnSDR!aA_VONuSxBOB ... bjL7UiwvIk
Upload the zip file via ftp client to you public_html folder and move it to
Code: Select all
cd /usr/local/vesta/data/templates/web/nginx/
Next: go to VestaCP / web find the domain you want to test and change the Proxy Template to Lite2speed