Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 54847f6

Browse files
authored
point mod_pagespeed submodule to the latest rev (#1433)
* point mod_pagespeed submodule to the latest rev * Add missing vhost for test "Image rewrite with flush"
1 parent 5631800 commit 54847f6

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

test/pagespeed_test.conf.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,25 @@ http {
17851785
pagespeed DisableFilters add_instrumentation;
17861786
pagespeed CriticalImagesBeaconEnabled false;
17871787
}
1788+
server {
1789+
pagespeed on;
1790+
listen @@SECONDARY_PORT@@;
1791+
listen [::]:@@SECONDARY_PORT@@;
1792+
server_name image-rewrite-with-flush.example.com;
1793+
pagespeed FileCachePath "@@FILE_CACHE@@";
1794+
pagespeed RewriteLevel PassThrough;
1795+
pagespeed UrlValuedAttribute li data-thumb image;
1796+
pagespeed EnableFilters core;
1797+
location ~ \.php$ {
1798+
fastcgi_param SCRIPT_FILENAME $request_filename;
1799+
fastcgi_param QUERY_STRING $query_string;
1800+
fastcgi_param REQUEST_METHOD $request_method;
1801+
fastcgi_param CONTENT_TYPE $content_type;
1802+
fastcgi_param CONTENT_LENGTH $content_length;
1803+
fastcgi_pass 127.0.0.1:9000;
1804+
fastcgi_buffering off;
1805+
}
1806+
}
17881807
server {
17891808
listen @@PRIMARY_PORT@@;
17901809
listen [::]:@@PRIMARY_PORT@@;

0 commit comments

Comments
 (0)