source: mod_gnutls/test/tests/21_TLS_reverse_proxy_wrong_cert/apache.conf @ 33af2b7

debian/masterdebian/stretch-backportsjessie-backportsupstream
Last change on this file since 33af2b7 was 33af2b7, checked in by Thomas Klute <thomas2.klute@…>, 4 years ago

Test suite: Add tests to "dist" target and support VPATH builds

Supporting VPATH builds requires using $srcdir to find non-generated
data rather than fixed relative paths. If test are not called through
the make system, local defaults must be used. Not changing directories
during tests any more makes this easier.

A few files (e.g. templates, generated CRL) have been moved around to
better match the new structure.

  • Property mode set to 100644
File size: 614 bytes
Line 
1Include ${srcdir}/base_apache.conf
2
3GnuTLSCache dbm cache/gnutls_cache
4
5LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
6LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
7
8<VirtualHost ${TEST_IP}:${TEST_PORT}>
9 ServerName ${TEST_HOST}
10 GnuTLSEnable On
11 GnuTLSCertificateFile server/x509.pem
12 GnuTLSKeyFile server/secret.key
13 GnuTLSPriorities NORMAL
14
15 SSLProxyEngine On
16 GnuTLSProxyCAFile      authority/x509.pem
17 GnuTLSProxyPriorities  NORMAL
18 ProxyPass /proxy/ https://${BACKEND_HOST}:${BACKEND_PORT}/
19 ProxyPassReverse /proxy/ https://${BACKEND_HOST}:${BACKEND_PORT}/
20</VirtualHost>
Note: See TracBrowser for help on using the repository browser.