AlkantarClanX12
Current Path : /usr/local/lsws/add-ons/plesk/ |
Current File : //usr/local/lsws/add-ons/plesk/httpd_config.xml.debian |
<?xml version="1.0" encoding="UTF-8"?> <httpServerConfig> <serverName>$HOSTNAME</serverName> <user>www-data</user> <group>www-data</group> <priority>0</priority> <chrootPath>/</chrootPath> <enableChroot>0</enableChroot> <inMemBufSize>60M</inMemBufSize> <swappingDir>/tmp/lshttpd/swap</swappingDir> <autoRestart>1</autoRestart> <autoFix503>0</autoFix503> <loadApacheConf>1</loadApacheConf> <autoReloadApacheConf>2</autoReloadApacheConf> <apacheBinPath>/usr/sbin/apache2</apacheBinPath> <apacheConfFile>/etc/apache2/apache2.conf</apacheConfFile> <apachePortOffset>%AP_PORT_OFFSET%</apachePortOffset> <apacheIpOffset>0</apacheIpOffset> <apacheIgnoredModules>mod_php4,mod_php5,mod_php7,sapi_apache2,python</apacheIgnoredModules> <phpSuExec>%PHP_SUEXEC%</phpSuExec> <phpSuExecMaxConn>10</phpSuExecMaxConn> <apacheEnvVars>APACHE_RUN_USER=www-data APACHE_RUN_GROUP=www-data APACHE_PID_FILE=%APACHE_PID_FILE%</apacheEnvVars> <mime>$SERVER_ROOT/conf/mime.properties</mime> <disableInitLogRotation>1</disableInitLogRotation> <showVersionNumber>0</showVersionNumber> <enableIpGeo></enableIpGeo> <useIpInProxyHeader>2</useIpInProxyHeader> <autoUpdateInterval>86400</autoUpdateInterval> <autoUpdateDownloadPkg>1</autoUpdateDownloadPkg> <adminEmails>%ADMIN_EMAIL%</adminEmails> <adminRoot>$SERVER_ROOT/admin/</adminRoot> <logging> <log> <fileName>/var/log/apache2/error.log</fileName> <logLevel>DEBUG</logLevel> <debugLevel>0</debugLevel> <rollingSize>2000M</rollingSize> <enableStderrLog>1</enableStderrLog> <enableAioLog>1</enableAioLog> </log> <accessLog> <fileName>$SERVER_ROOT/logs/access.log</fileName> <rollingSize>10M</rollingSize> <keepDays>30</keepDays> <compressArchive>0</compressArchive> </accessLog> </logging> <indexFiles>index.html, index.php, index.htm</indexFiles> <autoIndex></autoIndex> <autoIndexURI></autoIndexURI> <htAccess> <allowOverride>31</allowOverride> <accessFileName>.htaccess</accessFileName> </htAccess> <expires> <enableExpires>1</enableExpires> <expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800, application/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800</expiresByType> </expires> <tuning> <maxConnections>10000</maxConnections> <maxSSLConnections>10000</maxSSLConnections> <connTimeout>120</connTimeout> <maxKeepAliveReq>10000</maxKeepAliveReq> <smartKeepAlive>0</smartKeepAlive> <keepAliveTimeout>10</keepAliveTimeout> <sndBufSize>0</sndBufSize> <rcvBufSize>0</rcvBufSize> <eventDispatcher>best</eventDispatcher> <maxCachedFileSize>4096</maxCachedFileSize> <totalInMemCacheSize>20M</totalInMemCacheSize> <maxMMapFileSize>256K</maxMMapFileSize> <totalMMapCacheSize>40M</totalMMapCacheSize> <useSendfile>1</useSendfile> <useAIO>1</useAIO> <AIOBlockSize>4</AIOBlockSize> <etagNoInode>1</etagNoInode> <SSLCryptoDevice>null</SSLCryptoDevice> <maxReqURLLen>8192</maxReqURLLen> <maxReqHeaderSize>16380</maxReqHeaderSize> <maxReqBodySize>500M</maxReqBodySize> <maxDynRespHeaderSize>8K</maxDynRespHeaderSize> <maxDynRespSize>500M</maxDynRespSize> <enableGzipCompress>1</enableGzipCompress> <enableDynGzipCompress>1</enableDynGzipCompress> <compressibleTypes>default</compressibleTypes> <gzipAutoUpdateStatic>1</gzipAutoUpdateStatic> <gzipCacheDir></gzipCacheDir> </tuning> <security> <fileAccessControl> <followSymbolLink>1</followSymbolLink> <checkSymbolLink>0</checkSymbolLink> <forceStrictOwnership>1</forceStrictOwnership> <requiredPermissionMask>000</requiredPermissionMask> <restrictedPermissionMask>000</restrictedPermissionMask> <restrictedScriptPermissionMask>000</restrictedScriptPermissionMask> <restrictedDirPermissionMask>000</restrictedDirPermissionMask> </fileAccessControl> <perClientConnLimit> <staticReqPerSec>0</staticReqPerSec> <dynReqPerSec>0</dynReqPerSec> <outBandwidth>0</outBandwidth> <inBandwidth>0</inBandwidth> <softLimit>10000</softLimit> <hardLimit>10000</hardLimit> <gracePeriod>15</gracePeriod> <banPeriod>300</banPeriod> </perClientConnLimit> <CGIRLimit> <maxCGIInstances>200</maxCGIInstances> <minUID>11</minUID> <minGID>10</minGID> <priority>0</priority> <CPUSoftLimit>60</CPUSoftLimit> <CPUHardLimit>120</CPUHardLimit> <memSoftLimit>1450M</memSoftLimit> <memHardLimit>1500M</memHardLimit> <procSoftLimit>1400</procSoftLimit> <procHardLimit>1450</procHardLimit> </CGIRLimit> <censorshipControl> <enableCensorship>0</enableCensorship> <logLevel>0</logLevel> <defaultAction>deny,log,status:403</defaultAction> <scanPOST>1</scanPOST> </censorshipControl> <accessDenyDir> <dir>/</dir> <dir>/etc/*</dir> <dir>/dev/*</dir> <dir>$SERVER_ROOT/conf/*</dir> <dir>$SERVER_ROOT/admin/conf/*</dir> </accessDenyDir> <accessControl> <allow>ALL</allow> <deny></deny> </accessControl> </security> <extProcessorList> <extProcessor> <type>logger</type> <name>/usr/local/psa/admin/sbin/pipelog</name> <note>Added for Plesk Pipe logger setup.</note> <maxConns>1</maxConns> <path>/usr/local/psa/admin/sbin/pipelog</path> <instances>1</instances> <priority>10</priority> </extProcessor> </extProcessorList> <scriptHandlerList> </scriptHandlerList> <phpConfig> <maxConns>35</maxConns> <env>PHP_LSAPI_CHILDREN=35</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>1</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <extMaxIdleTime>60</extMaxIdleTime> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>1400</procSoftLimit> <procHardLimit>1500</procHardLimit> </phpConfig> <railsDefaults> <rubyBin></rubyBin> <railsEnv>1</railsEnv> <maxConns>5</maxConns> <env>LSAPI_MAX_IDLE=60</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>60</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <backlog>50</backlog> <runOnStartUp>1</runOnStartUp> <extMaxIdleTime>300</extMaxIdleTime> <priority>3</priority> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>400</procSoftLimit> <procHardLimit>500</procHardLimit> </railsDefaults> </httpServerConfig>