-
-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e83ea7e
commit 63411b3
Showing
2 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | ||
# | ||
# | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | ||
# | ||
# | ||
# 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 |