Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Modification & Patches
  • Search

[HOWTO] Proxy Template for Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one

Section with modification and patches for Vesta
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
vefeind
Posts: 3
Joined: Fri Feb 14, 2020 4:54 pm

Os: CentOS 6x
Web: nginx + php-fpm
[HOWTO] Proxy Template for Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one
  • Quote

Post by vefeind » 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.

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
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

Code: Select all

cd /usr/local/vesta/data/templates/web/nginx/
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
Top

tlozano
Posts: 37
Joined: Tue Nov 13, 2018 11:44 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: [HOWTO] Proxy Template for Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one
  • Quote

Post by tlozano » Fri Apr 17, 2020 10:01 am

Fine, thank you.
Top

desarrollo33
Posts: 9
Joined: Tue Mar 10, 2020 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: [HOWTO] Proxy Template for Nginx Caching + Force HTTPS + Google PageSpeed and HTTP2 in one
  • Quote

Post by desarrollo33 » Mon Jun 01, 2020 3:45 pm

Give me this when do ./rebuild.sh

Code: Select all

Rebuild config Nginx for all sites? [yes] (Y/n) y
./rebuild.sh: line 175: v-list-sys-users: command not found
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Modification & Patches”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password