diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /tools/subdomain1/subdomain1.conf | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
Diffstat (limited to 'tools/subdomain1/subdomain1.conf')
| -rw-r--r-- | tools/subdomain1/subdomain1.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/subdomain1/subdomain1.conf b/tools/subdomain1/subdomain1.conf new file mode 100644 index 00000000..74521792 --- /dev/null +++ b/tools/subdomain1/subdomain1.conf | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # This apache configuration file is used testing | ||
| 2 | # check_curl tests use this subdomain to see if --noproxy works on subdomains of a domain. | ||
| 3 | |||
| 4 | <VirtualHost *:80> | ||
| 5 | ServerName subdomain1.localhost.com | ||
| 6 | DocumentRoot /var/www/subdomain1 | ||
| 7 | |||
| 8 | ErrorLog ${APACHE_LOG_DIR}/subdomain1_error.log | ||
| 9 | CustomLog ${APACHE_LOG_DIR}/subdomain1_access.log combined | ||
| 10 | </VirtualHost> | ||
| 11 | |||
| 12 | <VirtualHost *:443> | ||
| 13 | ServerName subdomain1.localhost.com | ||
| 14 | DocumentRoot /var/www/subdomain1 | ||
| 15 | |||
| 16 | SSLEngine on | ||
| 17 | SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem | ||
| 18 | SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key | ||
| 19 | |||
| 20 | ErrorLog ${APACHE_LOG_DIR}/subdomain1_ssl_error.log | ||
| 21 | CustomLog ${APACHE_LOG_DIR}/subdomain1_ssl_access.log combined | ||
| 22 | </VirtualHost> | ||
