/
usr
/
local
/
lsws
/
conf
/
File Upload :
llllll
Current File: //usr/local/lsws/conf/httpd_config.conf.txt
servername user nobody group nogroup priority 0 inmembufsize 60M swappingdir /tmp/lshttpd/swap autofix503 1 gracefulrestarttimeout 300 mime conf/mime.properties showversionnumber 0 adminemails root@localhost indexfiles index.html, index.php errorlog logs/error.log { loglevel DEBUG debuglevel 0 rollingsize 10M enablestderrlog 1 } accesslog logs/access.log { rollingsize 20M keepdays 30 compressarchive 0 } expires { enableexpires 1 expiresbytype image/*=A604800,text/css=A604800,application/x-javascript=A604800,application/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800 } tuning { maxconnections 10000 maxsslconnections 10000 conntimeout 300 maxkeepalivereq 10000 keepalivetimeout 5 sndbufsize 0 rcvbufsize 0 maxrequrllen 32768 maxreqheadersize 65536 maxreqbodysize 2047M maxdynrespheadersize 32768 maxdynrespsize 2047M maxcachedfilesize 4096 totalinmemcachesize 20M maxmmapfilesize 256K totalmmapcachesize 40M usesendfile 1 fileetag 28 enablegzipcompress 1 compressibletypes default enabledyngzipcompress 1 gzipcompresslevel 6 gzipautoupdatestatic 1 gzipstaticcompresslevel 6 brstaticcompresslevel 6 gzipmaxfilesize 10M gzipminfilesize 300 quicenable 1 quicshmdir /dev/shm } fileaccesscontrol { followsymbollink 1 checksymbollink 0 requiredpermissionmask 000 restrictedpermissionmask 000 } perclientconnlimit { staticreqpersec 0 dynreqpersec 0 outbandwidth 0 inbandwidth 0 softlimit 10000 hardlimit 10000 graceperiod 15 banperiod 300 } cgirlimit { maxcgiinstances 20 minuid 11 mingid 10 priority 0 cpusoftlimit 10 cpuhardlimit 50 memsoftlimit 1460M memhardlimit 1470M procsoftlimit 400 prochardlimit 450 } accessdenydir { dir / dir /etc/* dir /dev/* dir conf/* dir admin/conf/* } accesscontrol { allow ALL } extprocessor lsphp81 { type lsapi address uds://tmp/lshttpd/lsphp.sock maxconns 10 env PHP_LSAPI_CHILDREN=10 env LSAPI_AVOID_FORK=200M inittimeout 60 retrytimeout 0 persistconn 1 respbuffer 0 autostart 2 path /usr/local/lsws/lsphp81/bin/lsphp backlog 100 instances 1 priority 0 memsoftlimit 2047M memhardlimit 2047M procsoftlimit 1400 prochardlimit 1500 } scripthandler { add lsapi:lsphp81 php } railsdefaults { maxconns 1 env LSAPI_MAX_IDLE=60 inittimeout 60 retrytimeout 0 pckeepalivetimeout 60 respbuffer 0 backlog 50 runonstartup 3 extmaxidletime 300 priority 3 memsoftlimit 2047M memhardlimit 2047M procsoftlimit 500 prochardlimit 600 } wsgiDefaults { maxconns 5 env LSAPI_MAX_IDLE=60 inittimeout 60 retrytimeout 0 pckeepalivetimeout 60 respbuffer 0 backlog 50 runonstartup 3 extmaxidletime 300 priority 3 memsoftlimit 2047M memhardlimit 2047M procsoftlimit 500 prochardlimit 600 } nodeDefaults { maxconns 5 env LSAPI_MAX_IDLE=60 inittimeout 60 retrytimeout 0 pckeepalivetimeout 60 respbuffer 0 backlog 50 runonstartup 3 extmaxidletime 300 priority 3 memsoftlimit 2047M memhardlimit 2047M procsoftlimit 500 prochardlimit 600 } module cache { param <<<MY_END checkprivatecache 1 checkpubliccache 1 maxcacheobjsize 10000000 maxstaleage 200 qscache 1 reqcookiecache 1 respcookiecache 1 ignorereqcachectrl 1 ignorerespcachectrl 0 enablecache 0 expireinseconds 3600 enableprivatecache 0 privateexpireinseconds 3600 MY_END internal 1 unknownkeywords checkprivatecache 1 unknownkeywords checkpubliccache 1 unknownkeywords maxcacheobjsize 10000000 unknownkeywords maxstaleage 200 unknownkeywords qscache 1 unknownkeywords reqcookiecache 1 unknownkeywords respcookiecache 1 unknownkeywords ignorereqcachectrl 1 unknownkeywords ignorerespcachectrl 0 unknownkeywords enablecache 0 unknownkeywords expireinseconds 3600 unknownkeywords enableprivatecache 0 unknownkeywords privateexpireinseconds 3600 ls_enabled 1 } virtualhost Example { vhroot Example/ configfile conf/vhosts/Example/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 setuidmode 0 } virtualhost Henzagold.com { vhroot /home/henzagold configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost pakhsh.henzagold.com { vhroot /home/henzagold configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost app.henzagold.com { vhroot /home/henzagold configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost hrmaktab.ir { vhroot /home/maktab configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost test.henzagold.com { vhroot /home/henzagold configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost testapp.henzagold.com { vhroot /home/henzagold configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost pay.henzagold.com { vhroot /home/pay configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } virtualhost henzagold.shop { vhroot /home/henzagold_shop/ configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf allowsymbollink 1 enablescript 1 restrained 1 } listener Default { address *:80 secure 0 map Henzagold.com henzagold.com map pakhsh.henzagold.com pakhsh.henzagold.com map app.henzagold.com app.henzagold.com map hrmaktab.ir hrmaktab.ir map test.henzagold.com test.henzagold.com map testapp.henzagold.com testapp.henzagold.com map pay.henzagold.com pay.henzagold.com map henzagold.shop henzagold.shop, armaghangold.shop } vhtemplate centralConfigLog { templatefile conf/templates/ccl.conf listeners Default } vhtemplate EasyRailsWithSuEXEC { templatefile conf/templates/rails.conf listeners Default }
Copyright ©2k19 -
Hexid
|
Tex7ure