Files
2026-05-25 13:51:57 +00:00

86 lines
1.7 KiB
Plaintext
Executable File

docroot $VH_ROOT/public_html
enableipgeo 1
vhdomain $VH_NAME
phpinioverride
enablegzip 1
vhaliases www.$VH_NAME
adminemails admin@orbishosting.com
context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowbrowse 1
adddefaultcharset off
phpinioverride
rewrite {
enable 0
}
}
rewrite {
enable 1
autoloadhtaccess 1
}
index {
indexfiles index.php, index.html
useserver 0
}
extprocessor orbis2682 {
memhardlimit 1024M
procsoftlimit 400
retrytimeout 0
persistconn 1
extuser orbis2682
extgroup orbis2682
memsoftlimit 1024M
type lsapi
address UDS://tmp/lshttpd/orbis2682.sock
respbuffer 0
autostart 1
path /usr/local/lsws/lsphp85/bin/lsphp
prochardlimit 500
pckeepalivetimeout 1
maxconns 10
env LSAPI_CHILDREN=10
inittimeout 600
}
module cache {
unknownkeywords storagepath /usr/local/lsws/cachedata/$VH_NAME
param storagepath /usr/local/lsws/cachedata/$VH_NAME
}
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
loglevel WARN
useserver 0
rollingsize 10M
}
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
logheaders 5
rollingsize 10M
logformat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
useserver 0
keepdays 10
compressarchive 1
}
scripthandler {
add lsapi:orbis2682 php
}
vhssl {
keyfile /etc/letsencrypt/live/orbishosting.com/privkey.pem
certfile /etc/letsencrypt/live/orbishosting.com/fullchain.pem
certchain 1
sslprotocol 24
enableecdhe 1
renegprotection 1
sslsessioncache 1
enablespdy 15
enablestapling 1
ocsprespmaxage 86400
}