Current status of pagespeed integration with ISPCFG3?

Discussion in 'General' started by Ovidiu, Nov 1, 2016.

  1. Ovidiu

    Ovidiu Active Member

    I have been digging through /usr/local/ispconfig/server/conf/nginx_vhost.conf.master and found multiple mentions of pagespeed:

    Code:
    <tmpl_if name='enable_pagespeed' op='==' value='y'>
            pagespeed on;
            pagespeed FileCachePath /var/ngx_pagespeed_cache;
            <tmpl_if name='ssl_enabled'>pagespeed FetchHttps enable,allow_self_signed;</tmpl_$
    
    
            # let's speed up PageSpeed by storing it in the super duper fast memcached
            pagespeed MemcachedThreads 1;
            pagespeed MemcachedServers "localhost:11211";
    
            # Filter settings
            pagespeed RewriteLevel CoreFilters;
            pagespeed EnableFilters collapse_whitespace,remove_comments;
    
            #  Ensure requests for pagespeed optimized resources go to the pagespeed
            #  handler and no extraneous headers get set.
            location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
                    add_header "" "";
                    access_log off;
            }
            location ~ "^/ngx_pagespeed_static/" {
                    access_log off;
            }
            location ~ "^/ngx_pagespeed_beacon$" {
                    access_log off;
            }
            location /ngx_pagespeed_statistics {
                    allow 127.0.0.1;
                    deny all;
                    access_log off;
            }
            location /ngx_pagespeed_global_statistics {
                    allow 127.0.0.1;
                    deny all;
                    access_log off;
            }
            location /ngx_pagespeed_message {
                    allow 127.0.0.1;
                    deny all;
                    access_log off;
            }
            location /pagespeed_console {
                    allow 127.0.0.1;
                    deny all;
                    access_log off;
            }
    </tmpl_if>
    I also found this file: /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php hence my question. Until now I had manually integrated ngx_pagespeed.
     
  2. Ovidiu

    Ovidiu Active Member

    Anyone able to help me out here?
     
  3. Ovidiu

    Ovidiu Active Member

    Sorry to rudely bump this thread up again, and I promise this is the last bump but I couldn't find anything searching. Is there any info out there about pagespeed and ISPCFG3?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that's not fully implemented yet, some code got into final for pagspeed which don't hurt but there is no fully working implementation yet, so just ignore what you find about pagespeed in the config file.
     
    Ovidiu likes this.

Share This Page