From 4b57f7851b5937ec43b45a9cbe5177470c8772e0 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 23 Dec 2024 10:41:45 +0100 Subject: [PATCH] Create docker.xml --- .../litespeed/docker.xml | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docker/ubuntu_openlitespeed_mysql/litespeed/docker.xml diff --git a/docker/ubuntu_openlitespeed_mysql/litespeed/docker.xml b/docker/ubuntu_openlitespeed_mysql/litespeed/docker.xml new file mode 100644 index 00000000..588e4872 --- /dev/null +++ b/docker/ubuntu_openlitespeed_mysql/litespeed/docker.xml @@ -0,0 +1,114 @@ + + + /var/www/vhosts/$VH_NAME/ + $SERVER_ROOT/conf/$VH_NAME.xml + 1 + 1 + 1 + 2 + 0 + + $VH_ROOT/html/ + 1 + + + 1 + + + 0 + $SERVER_ROOT/logs/$VH_NAME.access.log + 100M + 7 + 1 + + + + 0 + index.html, index.php + 0 + /_autoindex/default.php + + + + php + lsapi + $VH_NAME_lsphp + + + + 31 + .htaccess + + + 1 + + + + 0 + gif, jpeg, jpg + 1 + 1 + + + * + + + + 7 + + /var/www/vhosts/lscache/ + 1 + + + 1 + + + + + lsapi + $VH_NAME_lsphp +
uds://tmp/lshttpd/$VH_NAME_lsphp.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + LSAPI_AVOID_FORK=200M + 60 + 0 + 0 + 1 + /usr/local/lsws/fcgi-bin/lsphp + 100 + 1 + -1 + 0 + + + + +
+
+ + 1 + 0 + RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot + RewriteRule ^/nospider/ - [F] + + + /root/.acme.sh/certs/$VH_NAME_ecc/$VH_NAME.key + /root/.acme.sh/certs/$VH_NAME_ecc/fullchain.cer + 1 + + + 0 + 0 + + + 0 + $VH_ROOT/awstats + /awstats/ + localhost + 127.0.0.1 localhost + 86400 + 0 + +
+