Files
epictravelexpeditions/config/vhost/vhost.conf.txt
T

87 lines
1.7 KiB
Plaintext
Executable File

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