Skip to content

Commit 39dafaa

Browse files
quentinmitroot
authored and
root
committed
Add 18.4.86.50 as an alias for scripts-cert so that SNI works with the IP address (since the proxies broke IP-based virtual hosting)
1 parent c4f18ec commit 39dafaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/fedora/config/etc/httpd/conf/httpd.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ ProxyRequests Off
290290
<VirtualHost 18.4.86.50:80 *:80>
291291
ServerName scripts-cert.mit.edu
292292
ServerAlias scripts-cert
293+
ServerAlias 18.4.86.50
293294
Include conf.d/scripts-vhost.conf
294295
Include conf.d/vhosts-common.conf
295296
</VirtualHost>
@@ -373,6 +374,7 @@ ProxyRequests Off
373374
<VirtualHost 18.4.86.50:443 18.4.86.50:444 *:443 *:444>
374375
ServerName scripts-cert.mit.edu
375376
ServerAlias scripts-cert
377+
ServerAlias 18.4.86.50
376378
Include conf.d/scripts-vhost.conf
377379
Include conf.d/vhosts-common-ssl.conf
378380
SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem

0 commit comments

Comments
 (0)