mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
79 lines
2.0 KiB
Plaintext
Executable File
79 lines
2.0 KiB
Plaintext
Executable File
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
#
|
|
#
|
|
# Warning: Do not edit this file directly, this file is autogenerated.
|
|
#
|
|
#
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
|
|
ServerRoot "/usr/local/lsws"
|
|
|
|
Listen 0.0.0.0:80
|
|
Listen [::]:80
|
|
Listen 0.0.0.0:443
|
|
Listen [::]:443
|
|
|
|
User nobody
|
|
Group nobody
|
|
ServerAdmin root@localhost
|
|
|
|
<Directory />
|
|
AllowOverride none
|
|
</Directory>
|
|
|
|
<Directory /home>
|
|
AllowOverride All
|
|
Options +Includes -Indexes +ExecCGI
|
|
</Directory>
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
<Files ".ht*">
|
|
Require all denied
|
|
</Files>
|
|
|
|
ErrorLog "/usr/local/lsws/logs/error.log"
|
|
LogLevel warn
|
|
|
|
LogFormat '"%v %h %l %u %t \"%r\" %>s %b"' combined
|
|
CustomLog "/usr/local/lsws/logs/access.log" combined
|
|
|
|
|
|
AddType application/x-compress .Z
|
|
AddType application/x-gzip .gz .tgz
|
|
AddType text/html .shtml
|
|
AddOutputFilter INCLUDES .shtml
|
|
#AddHandler cgi-script .cgi
|
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
<IfModule mime_magic_module>
|
|
MIMEMagicFile conf/magic
|
|
</IfModule>
|
|
|
|
EnableSendfile on
|
|
|
|
SSLProtocol all -SSLv3 -TLSv1
|
|
SSLHonorCipherOrder on
|
|
|
|
SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:HIGH:!EDH-RSA-DES-CBC3-SHA:!DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4
|
|
|
|
<IfModule Litespeed>
|
|
CacheRoot /home/lscache/
|
|
</IfModule>
|
|
|
|
<VirtualHost *:80>
|
|
ServerName RedisDynVhost_80
|
|
DocumentRoot "/var/www/html"
|
|
</VirtualHost>
|
|
Listen 443
|
|
<VirtualHost *:443>
|
|
ServerName RedisDynVhost_443
|
|
DocumentRoot "/var/www/html"
|
|
SSLEngine on
|
|
SSLCertificateFile "/usr/local/lscp/conf/cert.pem"
|
|
SSLCertificateKeyFile "/usr/local/lscp/conf/key.pem"
|
|
</VirtualHost>
|
|
Include /usr/local/lsws/conf/modsec.conf
|