mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-07 23:29:05 +01:00
bug fix: dont redirect site to default vhost if no-ssl
This commit is contained in:
@@ -63,7 +63,10 @@ SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-A
|
||||
CacheRoot /home/lscache/
|
||||
</IfModule>
|
||||
|
||||
<VirtualHost *>
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /usr/local/lsws/DEFAULT/html
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
DocumentRoot /usr/local/lsws/DEFAULT/html
|
||||
</VirtualHost>
|
||||
Include /usr/local/lsws/conf/modsec.conf
|
||||
|
||||
@@ -63,7 +63,10 @@ SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-A
|
||||
CacheRoot /home/lscache/
|
||||
</IfModule>
|
||||
|
||||
<VirtualHost *>
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /usr/local/lsws/DEFAULT/html
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
DocumentRoot /usr/local/lsws/DEFAULT/html
|
||||
</VirtualHost>
|
||||
Include /usr/local/lsws/conf/modsec.conf
|
||||
|
||||
Reference in New Issue
Block a user