From c6e5de1b365cfc432bcdff6de0ea117a652e0b15 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 10 Mar 2021 00:21:18 +0500 Subject: [PATCH] bug fix: dont redirect site to default vhost if no-ssl --- install/litespeed/httpd.conf | 5 ++++- serverStatus/litespeed/httpd.conf | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/install/litespeed/httpd.conf b/install/litespeed/httpd.conf index 00002127c..aad375424 100755 --- a/install/litespeed/httpd.conf +++ b/install/litespeed/httpd.conf @@ -63,7 +63,10 @@ SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-A CacheRoot /home/lscache/ - + +DocumentRoot /usr/local/lsws/DEFAULT/html + + DocumentRoot /usr/local/lsws/DEFAULT/html Include /usr/local/lsws/conf/modsec.conf diff --git a/serverStatus/litespeed/httpd.conf b/serverStatus/litespeed/httpd.conf index 00002127c..aad375424 100755 --- a/serverStatus/litespeed/httpd.conf +++ b/serverStatus/litespeed/httpd.conf @@ -63,7 +63,10 @@ SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-A CacheRoot /home/lscache/ - + +DocumentRoot /usr/local/lsws/DEFAULT/html + + DocumentRoot /usr/local/lsws/DEFAULT/html Include /usr/local/lsws/conf/modsec.conf