mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-05 14:19:09 +01:00
redis hosting apache file
This commit is contained in:
78
install/litespeed/httpd-redis.conf
Executable file
78
install/litespeed/httpd-redis.conf
Executable file
@@ -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
|
||||
78
serverStatus/litespeed/httpd-redis.conf
Executable file
78
serverStatus/litespeed/httpd-redis.conf
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user