You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/11/25 14:35:19 UTC
svn commit: r1716401 - in /httpd/test/mod_h2/trunk/conf: httpd.conf
sites/test.example.org.conf
Author: icing
Date: Wed Nov 25 13:35:19 2015
New Revision: 1716401
URL: http://svn.apache.org/viewvc?rev=1716401&view=rev
Log:
added new H2PushPriority configurations
Modified:
httpd/test/mod_h2/trunk/conf/httpd.conf
httpd/test/mod_h2/trunk/conf/sites/test.example.org.conf
Modified: httpd/test/mod_h2/trunk/conf/httpd.conf
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/conf/httpd.conf?rev=1716401&r1=1716400&r2=1716401&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/conf/httpd.conf (original)
+++ httpd/test/mod_h2/trunk/conf/httpd.conf Wed Nov 25 13:35:19 2015
@@ -65,6 +65,15 @@ MaxKeepAliveRequests 0
<IfModule http2_module>
LogLevel http2:info
+ <IfModule mpm_worker_mopdule>
+ ServerLimit 4
+ MaxRequestWorkers 100
+ </IfModule>
+ <IfModule mpm_event_module>
+ ServerLimit 4
+ MaxRequestWorkers 100
+ </IfModule>
+
# max parallel streams per session, default 100
#H2MaxSessionStreams
# max initial window size upstream (per stream), default 64k
@@ -87,6 +96,15 @@ MaxKeepAliveRequests 0
# default is off
#H2SerializeHeaders Off
+ <IfVersion >= 2.5.0>
+ # define mime-type based priorities for PUSHed resources
+ H2PushPriority * after
+ H2PushPriority text/css before
+ H2PushPriority image/jpeg after 32
+ H2PushPriority image/png after 32
+ H2PushPriority application/javascript interleaved
+ </IfVersion>
+
</IfModule>
Modified: httpd/test/mod_h2/trunk/conf/sites/test.example.org.conf
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/conf/sites/test.example.org.conf?rev=1716401&r1=1716400&r2=1716401&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/conf/sites/test.example.org.conf (original)
+++ httpd/test/mod_h2/trunk/conf/sites/test.example.org.conf Wed Nov 25 13:35:19 2015
@@ -34,6 +34,7 @@
RewriteEngine on
RewriteRule ^/latest.tar.gz$ /xxx-1.0.2a.tar.gz [R=302,NC]
+ ProxyTimeout 5
<IfModule http2_module>
H2Direct on
@@ -111,6 +112,13 @@
SSLVerifyClient require
</Location>
+ <Location /proxy-unreachable/>
+ ProxyPass http://127.0.0.1:12347/
+ ProxyPassReverse https://test.example.org:SUBST_PORT_HTTPS_SUBST/
+ Order allow,deny
+ Allow from all
+ </Location>
+
</VirtualHost>