mirror of
https://github.com/myronblair/orbishosting
synced 2026-06-30 17:50:54 -05:00
Add vhost config
This commit is contained in:
Executable
+91
@@ -0,0 +1,91 @@
|
|||||||
|
docRoot $VH_ROOT/public_html
|
||||||
|
vhDomain $VH_NAME
|
||||||
|
vhAliases www.$VH_NAME
|
||||||
|
adminEmails admin@orbishosting.com
|
||||||
|
enableGzip 1
|
||||||
|
enableIpGeo 1
|
||||||
|
|
||||||
|
index {
|
||||||
|
useServer 0
|
||||||
|
indexFiles index.php, index.html
|
||||||
|
}
|
||||||
|
|
||||||
|
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
|
||||||
|
useServer 0
|
||||||
|
logLevel WARN
|
||||||
|
rollingSize 10M
|
||||||
|
}
|
||||||
|
|
||||||
|
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
||||||
|
useServer 0
|
||||||
|
logFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
|
||||||
|
logHeaders 5
|
||||||
|
rollingSize 10M
|
||||||
|
keepDays 10
|
||||||
|
compressArchive 1
|
||||||
|
}
|
||||||
|
|
||||||
|
scripthandler {
|
||||||
|
add lsapi:orbis2682 php
|
||||||
|
}
|
||||||
|
|
||||||
|
extprocessor orbis2682 {
|
||||||
|
type lsapi
|
||||||
|
address UDS://tmp/lshttpd/orbis2682.sock
|
||||||
|
maxConns 10
|
||||||
|
env LSAPI_CHILDREN=10
|
||||||
|
initTimeout 600
|
||||||
|
retryTimeout 0
|
||||||
|
persistConn 1
|
||||||
|
pcKeepAliveTimeout 1
|
||||||
|
respBuffer 0
|
||||||
|
autoStart 1
|
||||||
|
path /usr/local/lsws/lsphp85/bin/lsphp
|
||||||
|
extUser orbis2682
|
||||||
|
extGroup orbis2682
|
||||||
|
memSoftLimit 1024M
|
||||||
|
memHardLimit 1024M
|
||||||
|
procSoftLimit 400
|
||||||
|
procHardLimit 500
|
||||||
|
}
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module cache {
|
||||||
|
storagePath /usr/local/lsws/cachedata/$VH_NAME
|
||||||
|
}
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 1
|
||||||
|
autoLoadHtaccess 1
|
||||||
|
}
|
||||||
|
|
||||||
|
context /.well-known/acme-challenge {
|
||||||
|
location /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||||
|
allowBrowse 1
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 0
|
||||||
|
}
|
||||||
|
addDefaultCharset off
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
Executable
+85
@@ -0,0 +1,85 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
Executable
+91
@@ -0,0 +1,91 @@
|
|||||||
|
docRoot $VH_ROOT/public_html
|
||||||
|
vhDomain $VH_NAME
|
||||||
|
vhAliases www.$VH_NAME
|
||||||
|
adminEmails admin@orbishosting.com
|
||||||
|
enableGzip 1
|
||||||
|
enableIpGeo 1
|
||||||
|
|
||||||
|
index {
|
||||||
|
useServer 0
|
||||||
|
indexFiles index.php, index.html
|
||||||
|
}
|
||||||
|
|
||||||
|
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
|
||||||
|
useServer 0
|
||||||
|
logLevel WARN
|
||||||
|
rollingSize 10M
|
||||||
|
}
|
||||||
|
|
||||||
|
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
||||||
|
useServer 0
|
||||||
|
logFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
|
||||||
|
logHeaders 5
|
||||||
|
rollingSize 10M
|
||||||
|
keepDays 10
|
||||||
|
compressArchive 1
|
||||||
|
}
|
||||||
|
|
||||||
|
scripthandler {
|
||||||
|
add lsapi:orbis2682 php
|
||||||
|
}
|
||||||
|
|
||||||
|
extprocessor orbis2682 {
|
||||||
|
type lsapi
|
||||||
|
address UDS://tmp/lshttpd/orbis2682.sock
|
||||||
|
maxConns 10
|
||||||
|
env LSAPI_CHILDREN=10
|
||||||
|
initTimeout 600
|
||||||
|
retryTimeout 0
|
||||||
|
persistConn 1
|
||||||
|
pcKeepAliveTimeout 1
|
||||||
|
respBuffer 0
|
||||||
|
autoStart 1
|
||||||
|
path /usr/local/lsws/lsphp85/bin/lsphp
|
||||||
|
extUser orbis2682
|
||||||
|
extGroup orbis2682
|
||||||
|
memSoftLimit 1024M
|
||||||
|
memHardLimit 1024M
|
||||||
|
procSoftLimit 400
|
||||||
|
procHardLimit 500
|
||||||
|
}
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module cache {
|
||||||
|
storagePath /usr/local/lsws/cachedata/$VH_NAME
|
||||||
|
}
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 1
|
||||||
|
autoLoadHtaccess 1
|
||||||
|
}
|
||||||
|
|
||||||
|
context /.well-known/acme-challenge {
|
||||||
|
location /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||||
|
allowBrowse 1
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 0
|
||||||
|
}
|
||||||
|
addDefaultCharset off
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
Executable
+130
@@ -0,0 +1,130 @@
|
|||||||
|
head 1.2;
|
||||||
|
access;
|
||||||
|
symbols;
|
||||||
|
locks
|
||||||
|
root:1.2; strict;
|
||||||
|
comment @# @;
|
||||||
|
|
||||||
|
|
||||||
|
1.2
|
||||||
|
date 2026.05.15.20.05.14; author root; state Exp;
|
||||||
|
branches;
|
||||||
|
next 1.1;
|
||||||
|
|
||||||
|
1.1
|
||||||
|
date 2026.05.15.20.04.10; author root; state Exp;
|
||||||
|
branches;
|
||||||
|
next ;
|
||||||
|
|
||||||
|
|
||||||
|
desc
|
||||||
|
@/usr/local/lsws/conf/vhosts/orbishosting.com/vhost.conf0
|
||||||
|
@
|
||||||
|
|
||||||
|
|
||||||
|
1.2
|
||||||
|
log
|
||||||
|
@Update
|
||||||
|
@
|
||||||
|
text
|
||||||
|
@docRoot $VH_ROOT/public_html
|
||||||
|
vhDomain $VH_NAME
|
||||||
|
vhAliases www.$VH_NAME
|
||||||
|
adminEmails admin@@orbishosting.com
|
||||||
|
enableGzip 1
|
||||||
|
enableIpGeo 1
|
||||||
|
|
||||||
|
index {
|
||||||
|
useServer 0
|
||||||
|
indexFiles index.php, index.html
|
||||||
|
}
|
||||||
|
|
||||||
|
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
|
||||||
|
useServer 0
|
||||||
|
logLevel WARN
|
||||||
|
rollingSize 10M
|
||||||
|
}
|
||||||
|
|
||||||
|
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
||||||
|
useServer 0
|
||||||
|
logFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
|
||||||
|
logHeaders 5
|
||||||
|
rollingSize 10M
|
||||||
|
keepDays 10
|
||||||
|
compressArchive 1
|
||||||
|
}
|
||||||
|
|
||||||
|
scripthandler {
|
||||||
|
add lsapi:orbis2682 php
|
||||||
|
}
|
||||||
|
|
||||||
|
extprocessor orbis2682 {
|
||||||
|
type lsapi
|
||||||
|
address UDS://tmp/lshttpd/orbis2682.sock
|
||||||
|
maxConns 10
|
||||||
|
env LSAPI_CHILDREN=10
|
||||||
|
initTimeout 600
|
||||||
|
retryTimeout 0
|
||||||
|
persistConn 1
|
||||||
|
pcKeepAliveTimeout 1
|
||||||
|
respBuffer 0
|
||||||
|
autoStart 1
|
||||||
|
path /usr/local/lsws/lsphp85/bin/lsphp
|
||||||
|
extUser orbis2682
|
||||||
|
extGroup orbis2682
|
||||||
|
memSoftLimit 1024M
|
||||||
|
memHardLimit 1024M
|
||||||
|
procSoftLimit 400
|
||||||
|
procHardLimit 500
|
||||||
|
}
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module cache {
|
||||||
|
storagePath /usr/local/lsws/cachedata/$VH_NAME
|
||||||
|
}
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 1
|
||||||
|
autoLoadHtaccess 1
|
||||||
|
}
|
||||||
|
|
||||||
|
context /.well-known/acme-challenge {
|
||||||
|
location /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||||
|
allowBrowse 1
|
||||||
|
|
||||||
|
rewrite {
|
||||||
|
enable 0
|
||||||
|
}
|
||||||
|
addDefaultCharset off
|
||||||
|
|
||||||
|
phpIniOverride {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
@
|
||||||
|
|
||||||
|
|
||||||
|
1.1
|
||||||
|
log
|
||||||
|
@Update
|
||||||
|
@
|
||||||
|
text
|
||||||
|
@d79 13
|
||||||
|
@
|
||||||
Reference in New Issue
Block a user