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

Commit 7650039

Browse files
authored
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.
1 parent ef38995 commit 7650039

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

test/pagespeed_test.conf.template

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ http {
8888
# Expanded to CentralControllerPort directive when RUN_CONTROLLER_TEST=on
8989
@@CONTROLLER@@
9090

91+
server {
92+
# This is the default vhost for @@SECONDARY_PORT@@
93+
# Your request will land here when you pass in an unknown host.
94+
listen @@SECONDARY_PORT@@;
95+
listen [::]:@@SECONDARY_PORT@@;
96+
server_name default.example.com;
97+
pagespeed FileCachePath "@@FILE_CACHE@@";
98+
pagespeed RewriteLevel CoreFilters;
99+
}
100+
91101
server {
92102
# Sets up a logical home-page server on
93103
# max-cacheable-content-length.example.com. This server is only used to

0 commit comments

Comments
 (0)