Skip to content

Commit 6027f87

Browse files
committed
Merge remote-tracking branch 'remotes/origin/master' into ansible-realserver
2 parents 74e728b + 930c860 commit 6027f87

File tree

1 file changed

+18
-16
lines changed
  • ansible/roles/real-httpd/files/httpd/conf

1 file changed

+18
-16
lines changed

ansible/roles/real-httpd/files/httpd/conf/httpd.conf

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,6 @@ ProxyRequests Off
273273
ErrorDocument 404 "No favicon.ico.
274274
</Location>
275275

276-
<VirtualHost 18.4.86.50:80>
277-
ServerName scripts-cert.mit.edu
278-
ServerAlias scripts-cert
279-
Include conf.d/scripts-vhost.conf
280-
Include conf.d/vhosts-common.conf
281-
</VirtualHost>
282-
283276
# LDAP vhost, w00t w00t
284277
<VirtualHost *:80>
285278
ServerName localhost
@@ -293,6 +286,14 @@ ProxyRequests Off
293286
Include conf.d/vhosts-common.conf
294287
</VirtualHost>
295288

289+
# scripts-cert.mit.edu; must be listed below the default vhost
290+
<VirtualHost 18.4.86.50:80 *:80>
291+
ServerName scripts-cert.mit.edu
292+
ServerAlias scripts-cert
293+
Include conf.d/scripts-vhost.conf
294+
Include conf.d/vhosts-common.conf
295+
</VirtualHost>
296+
296297
<IfModule ssl_module>
297298
<ifFile /etc/pki/tls/private/scripts-2048.key>
298299
Listen 443
@@ -322,15 +323,6 @@ ProxyRequests Off
322323
SSLHonorCipherOrder on
323324
SSLCompression off
324325

325-
<VirtualHost 18.4.86.50:443 18.4.86.50:444>
326-
ServerName scripts-cert.mit.edu
327-
ServerAlias scripts-cert
328-
Include conf.d/scripts-vhost.conf
329-
Include conf.d/vhosts-common-ssl.conf
330-
SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem
331-
SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key
332-
Include conf.d/vhosts-common-ssl-cert.conf
333-
</VirtualHost>
334326
<VirtualHost 18.4.86.43:443>
335327
Include conf.d/scripts-vhost-names.conf
336328
Include conf.d/scripts-vhost.conf
@@ -378,6 +370,16 @@ ProxyRequests Off
378370
Include conf.d/vhosts-common-ssl.conf
379371
Include conf.d/vhosts-common-ssl-cert.conf
380372
</VirtualHost>
373+
# scripts-cert.mit.edu; must be listed below the default vhost
374+
<VirtualHost 18.4.86.50:443 18.4.86.50:444 *:443 *:444>
375+
ServerName scripts-cert.mit.edu
376+
ServerAlias scripts-cert
377+
Include conf.d/scripts-vhost.conf
378+
Include conf.d/vhosts-common-ssl.conf
379+
SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem
380+
SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key
381+
Include conf.d/vhosts-common-ssl-cert.conf
382+
</VirtualHost>
381383
Include /var/lib/scripts-certs/vhosts.conf
382384
</IfFile>
383385
</IfModule>

0 commit comments

Comments
 (0)