@@ -273,13 +273,6 @@ ProxyRequests Off
273
273
ErrorDocument 404 "No favicon.ico.
274
274
</Location >
275
275
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
-
283
276
# LDAP vhost, w00t w00t
284
277
<VirtualHost *:80 >
285
278
ServerName localhost
@@ -293,6 +286,14 @@ ProxyRequests Off
293
286
Include conf.d/vhosts-common.conf
294
287
</VirtualHost >
295
288
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
+
296
297
<IfModule ssl_module >
297
298
<ifFile /etc/pki/tls/private/scripts-2048 .key>
298
299
Listen 443
@@ -322,15 +323,6 @@ ProxyRequests Off
322
323
SSLHonorCipherOrder on
323
324
SSLCompression off
324
325
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 >
334
326
<VirtualHost 18.4.86.43:443 >
335
327
Include conf.d/scripts-vhost-names.conf
336
328
Include conf.d/scripts-vhost.conf
@@ -378,6 +370,16 @@ ProxyRequests Off
378
370
Include conf.d/vhosts-common-ssl.conf
379
371
Include conf.d/vhosts-common-ssl-cert.conf
380
372
</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 >
381
383
Include /var/lib/scripts-certs/vhosts.conf
382
384
</IfFile>
383
385
</IfModule >
0 commit comments