Want more timely Centmin Mod News Updates?
Become a Member

Nginx PageSpeed installing nginx ps

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by dooma, Jul 9, 2017.

  1. dooma

    dooma Premium Member Premium Member

    222
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    1:03 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.09beta01
    • Nginx Version Installed: i.e. Latest after update
    • PHP Version Installed: i.e. 5.6.30
    • MariaDB MySQL Version Installed: i.e. 10.1.21

    I installed nginx pagespeed and I wanna make sure that I followed the steps correctly and if there's any mistake :

    1- I created and then add these variable into it :
    Code (Text):
    NGINX_PAGESPEEDGITMASTER='n'
    NGINX_PAGESPEED='y'
    NGXDYNAMIC_NGXPAGESPEED='y'
    NGXPGSPEED_VER='1.11.33.4-beta'
    NGINX_PAGESPEEDPSOL_VER='1.11.33.4'


    2- I updated nginx via centmin.sh option#4

    3- Then I uncommented the below lines in both files:
    • **Nginx vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.conf
    • **Nginx HTTP/2 SSL vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf
    Code (Text):
    # ngx_pagespeed & ngx_pagespeed handler
    include /usr/local/nginx/conf/pagespeed.conf;
    include /usr/local/nginx/conf/pagespeedhandler.conf;
    include /usr/local/nginx/conf/pagespeedstatslog.conf;


    4- Finally I ran this command :
    pscontrol on


    **I allowed my isp to open the statistics page and it's running fine.

    is that correct or I missed any step ?, and how can I check the difference between the website before and after pagespeed?

    Thanks

     
    Last edited: Jul 9, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    9:03 PM
    Nginx 1.13.x
    MariaDB 5.5
    step 1 change to just
    Code (Text):
    NGINX_PAGESPEED='y'
    NGXDYNAMIC_NGXPAGESPEED='y'
    


    steps 2 to 4 are correct
     
    • Like Like x 1
  3. dooma

    dooma Premium Member Premium Member

    222
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    1:03 PM
    And how to find the differncies before and after nginx ps ?? To see what happened to the website's performance ?
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    9:03 PM
    Nginx 1.13.x
    MariaDB 5.5