Want to subscribe to topics you're interested in?
Become a Member

Nginx PageSpeed Chrome console errors for pagespeed

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by tdubs, Jun 16, 2015.

  1. tdubs

    tdubs Member

    84
    12
    8
    Apr 10, 2015
    Ratings:
    +15
    Local Time:
    3:58 AM
    1.7.12
    10.0.17
    Quick question.. for enabling pagespeed, do I need to uncomment the below code in virtual.conf like I had to in domain.com.conf?

    Code:
    # 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;


     
  2. eva2000

    eva2000 Administrator Staff Member

    49,037
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,487
    Local Time:
    3:58 AM
    Nginx 1.21.x
    MariaDB 10.x
    pagespeed can be enabled per nginx vhost, so if you don't want main hostname at /usr/local/nginx/html with ngx_pagespeed you can leave virtual.conf version commented out