HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/install/litespeed/httpd-redis.conf
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
#   
#       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