Update mod_pagespeed testing dependency (#1460)

* Update mod_pagespeed testing dependency
(mod_pagespeed commit a7c39a1b5a14f1422fef19e8e9dcb11074ba1c65)
* Add explicit default server{} on secondary_port to so that the recent
tests for css parser improvements land on a vhost with the right filters
enabled.
This commit is contained in:
Otto van der Schaaf
2017-08-22 16:27:41 +02:00
committed by GitHub
parent ef3899515e
commit 76500396ff
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -88,6 +88,16 @@ http {
# Expanded to CentralControllerPort directive when RUN_CONTROLLER_TEST=on # Expanded to CentralControllerPort directive when RUN_CONTROLLER_TEST=on
@@CONTROLLER@@ @@CONTROLLER@@
server {
# This is the default vhost for @@SECONDARY_PORT@@
# Your request will land here when you pass in an unknown host.
listen @@SECONDARY_PORT@@;
listen [::]:@@SECONDARY_PORT@@;
server_name default.example.com;
pagespeed FileCachePath "@@FILE_CACHE@@";
pagespeed RewriteLevel CoreFilters;
}
server { server {
# Sets up a logical home-page server on # Sets up a logical home-page server on
# max-cacheable-content-length.example.com. This server is only used to # max-cacheable-content-length.example.com. This server is only used to