source: mod_gnutls/test/tests/28_HTTP2_support/apache.conf @ a939015

debian/masterproxy-ticket
Last change on this file since a939015 was a939015, checked in by Fiona Klute <fiona.klute@…>, 19 months ago

Test early SNI in HTTP/2 test (if enabled)

  • Property mode set to 100644
File size: 803 bytes
Line 
1Include ${srcdir}/base_apache.conf
2GnuTLSCache ${DEFAULT_CACHE}
3
4LoadModule      http2_module    ${AP_LIBEXECDIR}/mod_http2.so
5
6LoadModule      status_module   ${AP_LIBEXECDIR}/mod_status.so
7<Location /status>
8        SetHandler server-status
9</Location>
10
11<IfDefine EXPECT_EARLY_SNI>
12# Different ALPN settings on the same port work only with early SNI
13<VirtualHost _default_:${TEST_PORT}>
14        # No "Protocols" directive, HTTP/1.1 only
15        ServerName              vhost.example.com
16        GnuTLSEnable            On
17        GnuTLSCertificateFile   server/x509.pem
18        GnuTLSKeyFile           server/secret.key
19        GnuTLSPriorities        NORMAL
20</VirtualHost>
21</IfDefine>
22
23<VirtualHost _default_:${TEST_PORT}>
24        Protocols               h2 http/1.1
25        ServerName              ${TEST_HOST}
26        GnuTLSEnable            On
27        GnuTLSCertificateFile   server/x509.pem
28        GnuTLSKeyFile           server/secret.key
29        GnuTLSPriorities        NORMAL
30</VirtualHost>
Note: See TracBrowser for help on using the repository browser.