mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-21 13:01:26 +02:00
add php8.1 to lsws config
This commit is contained in:
@@ -976,169 +976,9 @@ def selectreporestorev2(request):
|
||||
# final_json = json.dumps({'status': 0, 'fetchStatus': 1, 'error_message': Selectedrepo })
|
||||
# return HttpResponse(final_json)
|
||||
|
||||
vm = CPBackupsV2({'domain': Selectedwebsite, 'BackendName': Selectedrepo, })
|
||||
vm = CPBackupsV2({'domain': Selectedwebsite, 'BackendName': Selectedrepo, "function":""})
|
||||
status, data = vm.FetchSnapShots()
|
||||
|
||||
# ac=[
|
||||
# [
|
||||
# {
|
||||
# "hostname": "ip-172-31-15-45.eu-central-1.compute.internal",
|
||||
# "label": "",
|
||||
# "paths": [
|
||||
# "/home/backup/cyberpanel.net/config.json",
|
||||
# "/home/cyberpanel.net",
|
||||
# "MxS2hpJkGLVhZW.sql",
|
||||
# "cybe_usman.sql",
|
||||
# "cybe_usmans.sql",
|
||||
# "qf4fza8IocVVqU.sql",
|
||||
# "yKtbkp1THRlmBk.sql"
|
||||
# ]
|
||||
# },
|
||||
# [
|
||||
# {
|
||||
# "time": "2023-03-10T09:32:14.116381993+00:00",
|
||||
# "program_version": "rustic v0.4.4-38-g81650ff",
|
||||
# "tree": "b398a0c342dbba4073f24ee72fe4b25123c76db1cbc59e99d014bf545726e93b",
|
||||
# "paths": [
|
||||
# "/home/backup/cyberpanel.net/config.json",
|
||||
# "/home/cyberpanel.net",
|
||||
# "MxS2hpJkGLVhZW.sql",
|
||||
# "cybe_usman.sql",
|
||||
# "cybe_usmans.sql",
|
||||
# "qf4fza8IocVVqU.sql",
|
||||
# "yKtbkp1THRlmBk.sql"
|
||||
# ],
|
||||
# "hostname": "ip-172-31-15-45.eu-central-1.compute.internal",
|
||||
# "username": "",
|
||||
# "uid": 0,
|
||||
# "gid": 0,
|
||||
# "tags": [],
|
||||
# "original": "2f1003db93946aeea1dd02bea3648794fc547c61863423bfb002667079baa1e0",
|
||||
# "summary": {
|
||||
# "files_new": 0,
|
||||
# "files_changed": 0,
|
||||
# "files_unmodified": 3469,
|
||||
# "dirs_new": 0,
|
||||
# "dirs_changed": 2,
|
||||
# "dirs_unmodified": 659,
|
||||
# "data_blobs": 0,
|
||||
# "tree_blobs": 2,
|
||||
# "data_added": 1007,
|
||||
# "data_added_packed": 618,
|
||||
# "data_added_files": 0,
|
||||
# "data_added_files_packed": 0,
|
||||
# "data_added_trees": 1007,
|
||||
# "data_added_trees_packed": 618,
|
||||
# "total_files_processed": 3469,
|
||||
# "total_dirs_processed": 661,
|
||||
# "total_bytes_processed": 95956649,
|
||||
# "total_dirsize_processed": 1612281,
|
||||
# "total_duration": 0.105304887,
|
||||
# "command": "rustic -r rclone:testremote:cyberpanel.net merge 22fa1914edaf884d722e8ad761863aab34e5d626602911602af4051efd73c587 e305fbceddc516972d18972830e340c24b436a17c8d8df25c5ef726ca1ce462d 12366c9ed1f4b31d288e9419d91236cebf0623ac05845605193977efae1a2880 e2dcdb6e3a96ff235a813c0b60ce2c34eddb5aa0abd15a2aec9bd6dcc2bb26bb b6a4bae0ff82d6bf4863c6b1860db239c8b91f7f980217fb3296749833ee4281 4799a31682522a17286f45689205991ce2cee238f556a51c71ac823c186ea332 aa9324a2807accc30b91b6578c62a5ca752a67e3caef5f9de6a684041554db7a --password --json",
|
||||
# "backup_start": "2023-03-10T09:32:14.127752385+00:00",
|
||||
# "backup_end": "2023-03-10T09:32:14.221686880+00:00",
|
||||
# "backup_duration": 0.093934495
|
||||
# },
|
||||
# "id": "2f1003db93946aeea1dd02bea3648794fc547c61863423bfb002667079baa1e0"
|
||||
# },
|
||||
# {
|
||||
# "time": "2023-03-10T09:32:27.903095150+00:00",
|
||||
# "program_version": "rustic v0.4.4-38-g81650ff",
|
||||
# "tree": "397ebf2e96308728763b6ed6a5415852e5b1312d4eafcdf93909521d35933a49",
|
||||
# "paths": [
|
||||
# "/home/backup/cyberpanel.net/config.json",
|
||||
# "/home/cyberpanel.net",
|
||||
# "MxS2hpJkGLVhZW.sql",
|
||||
# "cybe_usman.sql",
|
||||
# "cybe_usmans.sql",
|
||||
# "qf4fza8IocVVqU.sql",
|
||||
# "yKtbkp1THRlmBk.sql"
|
||||
# ],
|
||||
# "hostname": "ip-172-31-15-45.eu-central-1.compute.internal",
|
||||
# "username": "",
|
||||
# "uid": 0,
|
||||
# "gid": 0,
|
||||
# "tags": [],
|
||||
# "original": "2c899e20ad27d25a9b731c03a33e0b98d7d040eda47b6a34c97f4a3c9cbf2fc7",
|
||||
# "summary": {
|
||||
# "files_new": 0,
|
||||
# "files_changed": 0,
|
||||
# "files_unmodified": 3476,
|
||||
# "dirs_new": 0,
|
||||
# "dirs_changed": 2,
|
||||
# "dirs_unmodified": 673,
|
||||
# "data_blobs": 0,
|
||||
# "tree_blobs": 2,
|
||||
# "data_added": 1007,
|
||||
# "data_added_packed": 619,
|
||||
# "data_added_files": 0,
|
||||
# "data_added_files_packed": 0,
|
||||
# "data_added_trees": 1007,
|
||||
# "data_added_trees_packed": 619,
|
||||
# "total_files_processed": 3476,
|
||||
# "total_dirs_processed": 675,
|
||||
# "total_bytes_processed": 96567760,
|
||||
# "total_dirsize_processed": 1620704,
|
||||
# "total_duration": 0.101950563,
|
||||
# "command": "rustic -r rclone:testremote:cyberpanel.net merge 6340ecbae01618a1f5def5e2620d778b6dcd9fc36074edcf9b8f0e52509798ed 1de78d7916fb6391bc7445b4a77967b6bf99ad9d0ed09d473ccb80c0be412fe0 2a31010ab415940d2c7d203ecabdd85d0dcc03f74351607808bc16137ec17b29 4a8e1bc5fbf6f228f1af619d97e1864e62b7e57c62840c0ecc68d255fed06e45 a510f06887c3d8535232ccec3a99a055c33e1a0d5671929b440a1f7a3e0fb396 f1d53a4d7d706a110d945d34f69f8fbffb4ec77787ec6fd36771572ef8f91a64 dd4a7eef8c8836624f11b0f5bff25303371886aaa5de30cf8035104529f193e3 --password --json",
|
||||
# "backup_start": "2023-03-10T09:32:27.913203884+00:00",
|
||||
# "backup_end": "2023-03-10T09:32:28.005045713+00:00",
|
||||
# "backup_duration": 0.091841829
|
||||
# },
|
||||
# "id": "2c899e20ad27d25a9b731c03a33e0b98d7d040eda47b6a34c97f4a3c9cbf2fc7"
|
||||
# },
|
||||
# {
|
||||
# "time": "2023-03-10T09:34:44.180484566+00:00",
|
||||
# "program_version": "rustic v0.4.4-38-g81650ff",
|
||||
# "tree": "0e44a3eeca24698340f4c5a852570c2c7ae35f7c881c2208478516b576caa1e9",
|
||||
# "paths": [
|
||||
# "/home/backup/cyberpanel.net/config.json",
|
||||
# "/home/cyberpanel.net",
|
||||
# "MxS2hpJkGLVhZW.sql",
|
||||
# "cybe_usman.sql",
|
||||
# "cybe_usmans.sql",
|
||||
# "qf4fza8IocVVqU.sql",
|
||||
# "yKtbkp1THRlmBk.sql"
|
||||
# ],
|
||||
# "hostname": "ip-172-31-15-45.eu-central-1.compute.internal",
|
||||
# "username": "",
|
||||
# "uid": 0,
|
||||
# "gid": 0,
|
||||
# "tags": [],
|
||||
# "original": "b2e3c5f38343531305538e53192c7499d81989ba98ec2356f8b578c4d8f758e6",
|
||||
# "summary": {
|
||||
# "files_new": 0,
|
||||
# "files_changed": 0,
|
||||
# "files_unmodified": 3483,
|
||||
# "dirs_new": 0,
|
||||
# "dirs_changed": 2,
|
||||
# "dirs_unmodified": 686,
|
||||
# "data_blobs": 0,
|
||||
# "tree_blobs": 2,
|
||||
# "data_added": 1007,
|
||||
# "data_added_packed": 617,
|
||||
# "data_added_files": 0,
|
||||
# "data_added_files_packed": 0,
|
||||
# "data_added_trees": 1007,
|
||||
# "data_added_trees_packed": 617,
|
||||
# "total_files_processed": 3483,
|
||||
# "total_dirs_processed": 688,
|
||||
# "total_bytes_processed": 96583806,
|
||||
# "total_dirsize_processed": 1628726,
|
||||
# "total_duration": 0.105863471,
|
||||
# "command": "rustic -r rclone:testremote:cyberpanel.net merge da3e8ac0d680095d7317393b5403e8745638c385e9131ad82e69c7274acfea39 6b5b6a5471c91bfafc0cdc362c2bb231cad9b349407e6ff9641159c396862d6d 34e6356574fd57f61af52806b6190c4e0b765ca6e46e2c2fbb9dc597cabeeaa3 eec2b9a55d7e6c23a5c80f9804504efd838b51881d3181372d77d47abd45ffa2 cfa880f8d28aca6ecfab0a36681146cbabece413fbea91317e7255af14feb73a ef6fe3f125710a4d7a6b1026ecc14345f68cfdea4994399d4ae5af44cc97f966 a1c1e536f51dbf7fbf1565875b233e5ea2a72953ab22df9d8ba95d1b7d29185c --password --json",
|
||||
# "backup_start": "2023-03-10T09:34:44.191031543+00:00",
|
||||
# "backup_end": "2023-03-10T09:34:44.286348037+00:00",
|
||||
# "backup_duration": 0.095316494
|
||||
# },
|
||||
# "id": "b2e3c5f38343531305538e53192c7499d81989ba98ec2356f8b578c4d8f758e6"
|
||||
# }
|
||||
# ]
|
||||
# ]
|
||||
# ]
|
||||
# id = []
|
||||
# for item in ac[0][1]:
|
||||
# id.append(item['id'])
|
||||
if status == 1:
|
||||
final_json = json.dumps({'status': 1, 'fetchStatus': 1, 'error_message': "None", "data": data})
|
||||
return HttpResponse(final_json)
|
||||
|
||||
@@ -1,457 +1,503 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<httpServerConfig>
|
||||
<serverName>$HOSTNAME</serverName>
|
||||
<user>nobody</user>
|
||||
<group>nobody</group>
|
||||
<priority>0</priority>
|
||||
<chrootPath>/</chrootPath>
|
||||
<enableChroot>0</enableChroot>
|
||||
<inMemBufSize>120M</inMemBufSize>
|
||||
<swappingDir>/tmp/lshttpd/swap</swappingDir>
|
||||
<autoFix503>1</autoFix503>
|
||||
<loadApacheConf>1</loadApacheConf>
|
||||
<autoReloadApacheConf>0</autoReloadApacheConf>
|
||||
<apacheConfFile>/usr/local/lsws/conf/httpd.conf</apacheConfFile>
|
||||
<apachePortOffset>0</apachePortOffset>
|
||||
<apacheIpOffset>0</apacheIpOffset>
|
||||
<phpSuExec>1</phpSuExec>
|
||||
<phpSuExecMaxConn>5</phpSuExecMaxConn>
|
||||
<mime>$SERVER_ROOT/conf/mime.properties</mime>
|
||||
<showVersionNumber>0</showVersionNumber>
|
||||
<useIpInProxyHeader>0</useIpInProxyHeader>
|
||||
<autoUpdateInterval>86400</autoUpdateInterval>
|
||||
<autoUpdateDownloadPkg>1</autoUpdateDownloadPkg>
|
||||
<adminEmails>usman@cyberpersons.com</adminEmails>
|
||||
<adminRoot>$SERVER_ROOT/admin/</adminRoot>
|
||||
<logging>
|
||||
<log>
|
||||
<fileName>$SERVER_ROOT/logs/error.log</fileName>
|
||||
<logLevel>DEBUG</logLevel>
|
||||
<debugLevel>0</debugLevel>
|
||||
<rollingSize>10M</rollingSize>
|
||||
<enableStderrLog>1</enableStderrLog>
|
||||
<enableAioLog>1</enableAioLog>
|
||||
</log>
|
||||
<accessLog>
|
||||
<fileName>$SERVER_ROOT/logs/access.log</fileName>
|
||||
<logFormat>%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"</logFormat>
|
||||
<rollingSize>10M</rollingSize>
|
||||
<keepDays>30</keepDays>
|
||||
<compressArchive>1</compressArchive>
|
||||
</accessLog>
|
||||
</logging>
|
||||
<indexFiles>index.html, index.php</indexFiles>
|
||||
<htAccess>
|
||||
<allowOverride>0</allowOverride>
|
||||
<accessFileName>.htaccess</accessFileName>
|
||||
</htAccess>
|
||||
<expires>
|
||||
<enableExpires>1</enableExpires>
|
||||
<expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800, application/javascript=A604800</expiresByType>
|
||||
</expires>
|
||||
<tuning>
|
||||
<eventDispatcher>best</eventDispatcher>
|
||||
<maxConnections>10000</maxConnections>
|
||||
<maxSSLConnections>10000</maxSSLConnections>
|
||||
<connTimeout>300</connTimeout>
|
||||
<maxKeepAliveReq>1000</maxKeepAliveReq>
|
||||
<smartKeepAlive>0</smartKeepAlive>
|
||||
<keepAliveTimeout>5</keepAliveTimeout>
|
||||
<sndBufSize>0</sndBufSize>
|
||||
<rcvBufSize>0</rcvBufSize>
|
||||
<maxReqURLLen>8192</maxReqURLLen>
|
||||
<maxReqHeaderSize>16380</maxReqHeaderSize>
|
||||
<maxReqBodySize>500M</maxReqBodySize>
|
||||
<maxDynRespHeaderSize>8K</maxDynRespHeaderSize>
|
||||
<maxDynRespSize>500M</maxDynRespSize>
|
||||
<maxCachedFileSize>4096</maxCachedFileSize>
|
||||
<totalInMemCacheSize>20M</totalInMemCacheSize>
|
||||
<maxMMapFileSize>256K</maxMMapFileSize>
|
||||
<totalMMapCacheSize>40M</totalMMapCacheSize>
|
||||
<useSendfile>1</useSendfile>
|
||||
<useAIO>1</useAIO>
|
||||
<AIOBlockSize>4</AIOBlockSize>
|
||||
<enableGzipCompress>1</enableGzipCompress>
|
||||
<enableDynGzipCompress>1</enableDynGzipCompress>
|
||||
<gzipCompressLevel>1</gzipCompressLevel>
|
||||
<compressibleTypes>text/*,application/x-javascript,application/javascript,application/xml, image/svg+xml</compressibleTypes>
|
||||
<gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
|
||||
<gzipStaticCompressLevel>6</gzipStaticCompressLevel>
|
||||
<gzipMaxFileSize>1M</gzipMaxFileSize>
|
||||
<gzipMinFileSize>300</gzipMinFileSize>
|
||||
<SSLCryptoDevice>null</SSLCryptoDevice>
|
||||
</tuning>
|
||||
<quic>
|
||||
<quicEnable>1</quicEnable>
|
||||
</quic>
|
||||
<security>
|
||||
<fileAccessControl>
|
||||
<followSymbolLink>1</followSymbolLink>
|
||||
<checkSymbolLink>0</checkSymbolLink>
|
||||
<requiredPermissionMask>000</requiredPermissionMask>
|
||||
<restrictedPermissionMask>000</restrictedPermissionMask>
|
||||
</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>300</CPUSoftLimit>
|
||||
<CPUHardLimit>600</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>
|
||||
<uploadTmpDir>/tmp</uploadTmpDir>
|
||||
<secAuditLog>$SERVER_ROOT/logs/security_audit.log</secAuditLog>
|
||||
</censorshipControl>
|
||||
<censorshipRuleSet>
|
||||
<name>XSS attack</name>
|
||||
<ruleSetAction>log,deny,status:403,msg:'XSS attack'</ruleSetAction>
|
||||
<enabled>1</enabled>
|
||||
<ruleSet></ruleSet>
|
||||
</censorshipRuleSet>
|
||||
<censorshipRuleSet>
|
||||
<name>SQL injection</name>
|
||||
<ruleSetAction>log,pass,msg:'SQL Injection attack'</ruleSetAction>
|
||||
<enabled>1</enabled>
|
||||
<ruleSet>#SQL generic
|
||||
SecFilterSelective ARGS "drop[[:space:]]+(database|table|column|procedure)"
|
||||
SecFilterSelective ARGS "delete[[:space:]]+from|create[[:space:]]+table|update.+set.+=|insert[[:space:]]+into.+values"
|
||||
SecFilterSelective ARGS "select.+from|bulk[[:space:]]+insert|union.+select|alter[[:space:]]+table"
|
||||
SecFilterSelective ARGS "or.+1[[:space:]]*=[[:space:]]1|or 1=1--'|'.+--"
|
||||
<serverName>$HOSTNAME</serverName>
|
||||
<user>nobody</user>
|
||||
<group>nobody</group>
|
||||
<priority>0</priority>
|
||||
<chrootPath>/</chrootPath>
|
||||
<enableChroot>0</enableChroot>
|
||||
<inMemBufSize>120M</inMemBufSize>
|
||||
<swappingDir>/tmp/lshttpd/swap</swappingDir>
|
||||
<autoFix503>1</autoFix503>
|
||||
<loadApacheConf>1</loadApacheConf>
|
||||
<autoReloadApacheConf>0</autoReloadApacheConf>
|
||||
<apacheConfFile>/usr/local/lsws/conf/httpd.conf</apacheConfFile>
|
||||
<apachePortOffset>0</apachePortOffset>
|
||||
<apacheIpOffset>0</apacheIpOffset>
|
||||
<phpSuExec>1</phpSuExec>
|
||||
<phpSuExecMaxConn>5</phpSuExecMaxConn>
|
||||
<mime>$SERVER_ROOT/conf/mime.properties</mime>
|
||||
<showVersionNumber>0</showVersionNumber>
|
||||
<useIpInProxyHeader>0</useIpInProxyHeader>
|
||||
<autoUpdateInterval>86400</autoUpdateInterval>
|
||||
<autoUpdateDownloadPkg>1</autoUpdateDownloadPkg>
|
||||
<adminEmails>usman@cyberpersons.com</adminEmails>
|
||||
<adminRoot>$SERVER_ROOT/admin/</adminRoot>
|
||||
<logging>
|
||||
<log>
|
||||
<fileName>$SERVER_ROOT/logs/error.log</fileName>
|
||||
<logLevel>DEBUG</logLevel>
|
||||
<debugLevel>0</debugLevel>
|
||||
<rollingSize>10M</rollingSize>
|
||||
<enableStderrLog>1</enableStderrLog>
|
||||
<enableAioLog>1</enableAioLog>
|
||||
</log>
|
||||
<accessLog>
|
||||
<fileName>$SERVER_ROOT/logs/access.log</fileName>
|
||||
<logFormat>%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
|
||||
</logFormat>
|
||||
<rollingSize>10M</rollingSize>
|
||||
<keepDays>30</keepDays>
|
||||
<compressArchive>1</compressArchive>
|
||||
</accessLog>
|
||||
</logging>
|
||||
<indexFiles>index.html, index.php</indexFiles>
|
||||
<htAccess>
|
||||
<allowOverride>0</allowOverride>
|
||||
<accessFileName>.htaccess</accessFileName>
|
||||
</htAccess>
|
||||
<expires>
|
||||
<enableExpires>1</enableExpires>
|
||||
<expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800,
|
||||
application/javascript=A604800
|
||||
</expiresByType>
|
||||
</expires>
|
||||
<tuning>
|
||||
<eventDispatcher>best</eventDispatcher>
|
||||
<maxConnections>10000</maxConnections>
|
||||
<maxSSLConnections>10000</maxSSLConnections>
|
||||
<connTimeout>300</connTimeout>
|
||||
<maxKeepAliveReq>1000</maxKeepAliveReq>
|
||||
<smartKeepAlive>0</smartKeepAlive>
|
||||
<keepAliveTimeout>5</keepAliveTimeout>
|
||||
<sndBufSize>0</sndBufSize>
|
||||
<rcvBufSize>0</rcvBufSize>
|
||||
<maxReqURLLen>8192</maxReqURLLen>
|
||||
<maxReqHeaderSize>16380</maxReqHeaderSize>
|
||||
<maxReqBodySize>500M</maxReqBodySize>
|
||||
<maxDynRespHeaderSize>8K</maxDynRespHeaderSize>
|
||||
<maxDynRespSize>500M</maxDynRespSize>
|
||||
<maxCachedFileSize>4096</maxCachedFileSize>
|
||||
<totalInMemCacheSize>20M</totalInMemCacheSize>
|
||||
<maxMMapFileSize>256K</maxMMapFileSize>
|
||||
<totalMMapCacheSize>40M</totalMMapCacheSize>
|
||||
<useSendfile>1</useSendfile>
|
||||
<useAIO>1</useAIO>
|
||||
<AIOBlockSize>4</AIOBlockSize>
|
||||
<enableGzipCompress>1</enableGzipCompress>
|
||||
<enableDynGzipCompress>1</enableDynGzipCompress>
|
||||
<gzipCompressLevel>1</gzipCompressLevel>
|
||||
<compressibleTypes>text/*,application/x-javascript,application/javascript,application/xml, image/svg+xml
|
||||
</compressibleTypes>
|
||||
<gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
|
||||
<gzipStaticCompressLevel>6</gzipStaticCompressLevel>
|
||||
<gzipMaxFileSize>1M</gzipMaxFileSize>
|
||||
<gzipMinFileSize>300</gzipMinFileSize>
|
||||
<SSLCryptoDevice>null</SSLCryptoDevice>
|
||||
</tuning>
|
||||
<quic>
|
||||
<quicEnable>1</quicEnable>
|
||||
</quic>
|
||||
<security>
|
||||
<fileAccessControl>
|
||||
<followSymbolLink>1</followSymbolLink>
|
||||
<checkSymbolLink>0</checkSymbolLink>
|
||||
<requiredPermissionMask>000</requiredPermissionMask>
|
||||
<restrictedPermissionMask>000</restrictedPermissionMask>
|
||||
</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>300</CPUSoftLimit>
|
||||
<CPUHardLimit>600</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>
|
||||
<uploadTmpDir>/tmp</uploadTmpDir>
|
||||
<secAuditLog>$SERVER_ROOT/logs/security_audit.log</secAuditLog>
|
||||
</censorshipControl>
|
||||
<censorshipRuleSet>
|
||||
<name>XSS attack</name>
|
||||
<ruleSetAction>log,deny,status:403,msg:'XSS attack'</ruleSetAction>
|
||||
<enabled>1</enabled>
|
||||
<ruleSet></ruleSet>
|
||||
</censorshipRuleSet>
|
||||
<censorshipRuleSet>
|
||||
<name>SQL injection</name>
|
||||
<ruleSetAction>log,pass,msg:'SQL Injection attack'</ruleSetAction>
|
||||
<enabled>1</enabled>
|
||||
<ruleSet>#SQL generic
|
||||
SecFilterSelective ARGS "drop[[:space:]]+(database|table|column|procedure)"
|
||||
SecFilterSelective ARGS "delete[[:space:]]+from|create[[:space:]]+table|update.+set.+=|insert[[:space:]]+into.+values"
|
||||
SecFilterSelective ARGS "select.+from|bulk[[:space:]]+insert|union.+select|alter[[:space:]]+table"
|
||||
SecFilterSelective ARGS "or.+1[[:space:]]*=[[:space:]]1|or 1=1--'|'.+--"
|
||||
|
||||
SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+\*/"</ruleSet>
|
||||
</censorshipRuleSet>
|
||||
<bubbleWrap>1</bubbleWrap>
|
||||
<bubbleWrapCmd>/bin/bwrap --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind-try /lib64 /lib64 --ro-bind /bin /bin --ro-bind /sbin /sbin --dir /var --ro-bind-try /var/www /var/www --dir /tmp --proc /proc --symlink../tmp var/tmp --dev /dev --ro-bind-try /etc/localtime /etc/localtime --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --ro-bind-try /etc/resolv.conf /etc/resolv.conf --ro-bind-try /etc/ssl /etc/ssl --ro-bind-try /etc/pki /etc/pki --ro-bind-try /etc/man_db.conf /etc/man_db.conf --ro-bind-try /usr/local/bin/msmtp /etc/alternatives/mta --ro-bind-try /usr/local/bin/msmtp /usr/sbin/exim --bind-try $HOMEDIR $HOMEDIR --bind-try /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock --bind-try /home/mysql/mysql.sock /home/mysql/mysql.sock --bind-try /tmp/mysql.sock /tmp/mysql.sock --bind-try /run/mysqld/mysqld.sock /run/mysqld/mysqld.sock --bind-try /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock '$COPY-TRY /etc/exim.jail/$USER.conf $HOMEDIR/.msmtprc' --unshare-all --share-net --die-with-parent --dir /run/user/$UID ‘$PASSWD 65534’ ‘$GROUP 65534’</bubbleWrapCmd>
|
||||
<accessDenyDir>
|
||||
<dir>/</dir>
|
||||
<dir>/etc/*</dir>
|
||||
<dir>/dev/*</dir>
|
||||
<dir>$SERVER_ROOT/conf/*</dir>
|
||||
<dir>$SERVER_ROOT/admin/conf/*</dir>
|
||||
</accessDenyDir>
|
||||
<accessControl>
|
||||
<allow>ALL, 127.0.0.1T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 104.16.0.0/13T, 104.24.0.0/14T, 108.162.192.0/18T, 131.0.72.0/22T, 141.101.64.0/18T, 162.158.0.0/15T, 172.64.0.0/13T, 173.245.48.0/20T, 188.114.96.0/20T, 190.93.240.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 2400:cb00::/32T, 2405:8100::/32T, 2405:b500::/32T, 2606:4700::/32T, 2803:f800::/32T, 2a06:98c0::/29T, 2c0f:f248::/32T, 192.88.134.0/23T, 185.93.228.0/22, 66.248.200.0/22T, 208.109.0.0/22T, 2a02:fe80::/29T</allow>
|
||||
</accessControl>
|
||||
</security>
|
||||
<extProcessorList>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp5</name>
|
||||
<address>uds://tmp/lshttpd/lsphp5.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/fcgi-bin/lsphp5</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp53</name>
|
||||
<address>uds://tmp/lshttpd/lsphp53.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp53/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp54</name>
|
||||
<address>uds://tmp/lshttpd/lsphp54.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp54/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp55</name>
|
||||
<address>uds://tmp/lshttpd/lsphp55.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp55/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp56</name>
|
||||
<address>uds://tmp/lshttpd/lsphp56.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp56/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp70</name>
|
||||
<address>uds://tmp/lshttpd/lsphp70.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp70/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp71</name>
|
||||
<address>uds://tmp/lshttpd/lsphp71.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp71/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp72</name>
|
||||
<address>uds://tmp/lshttpd/lsphp72.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp72/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp73</name>
|
||||
<address>uds://tmp/lshttpd/lsphp73.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp73/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp74</name>
|
||||
<address>uds://tmp/lshttpd/lsphp74.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp74/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp80</name>
|
||||
<address>uds://tmp/lshttpd/lsphp80.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp80/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessorList>
|
||||
<scriptHandlerList>
|
||||
<scriptHandler>
|
||||
<suffix>php</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp5</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php5</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp5</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php53</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp53</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php54</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp54</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php55</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp55</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php56</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp56</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php70</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp70</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php71</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp71</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php72</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp72</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php73</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp73</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php74</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp74</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php80</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp80</handler>
|
||||
</scriptHandler>
|
||||
</scriptHandlerList>
|
||||
<phpConfig>
|
||||
</phpConfig>
|
||||
<railsDefaults>
|
||||
<railsEnv>1</railsEnv>
|
||||
<maxConns>5</maxConns>
|
||||
<env>LSAPI_MAX_IDLE=60</env>
|
||||
<initTimeout>180</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<pcKeepAliveTimeout>60</pcKeepAliveTimeout>
|
||||
<respBuffer>0</respBuffer>
|
||||
<backlog>50</backlog>
|
||||
<runOnStartUp>1</runOnStartUp>
|
||||
<priority>3</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</railsDefaults>
|
||||
SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+\*/"
|
||||
</ruleSet>
|
||||
</censorshipRuleSet>
|
||||
<bubbleWrap>1</bubbleWrap>
|
||||
<bubbleWrapCmd>/bin/bwrap --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind-try /lib64 /lib64 --ro-bind /bin
|
||||
/bin --ro-bind /sbin /sbin --dir /var --ro-bind-try /var/www /var/www --dir /tmp --proc /proc
|
||||
--symlink../tmp var/tmp --dev /dev --ro-bind-try /etc/localtime /etc/localtime --ro-bind-try
|
||||
/etc/ld.so.cache /etc/ld.so.cache --ro-bind-try /etc/resolv.conf /etc/resolv.conf --ro-bind-try /etc/ssl
|
||||
/etc/ssl --ro-bind-try /etc/pki /etc/pki --ro-bind-try /etc/man_db.conf /etc/man_db.conf --ro-bind-try
|
||||
/usr/local/bin/msmtp /etc/alternatives/mta --ro-bind-try /usr/local/bin/msmtp /usr/sbin/exim --bind-try
|
||||
$HOMEDIR $HOMEDIR --bind-try /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock --bind-try
|
||||
/home/mysql/mysql.sock /home/mysql/mysql.sock --bind-try /tmp/mysql.sock /tmp/mysql.sock --bind-try
|
||||
/run/mysqld/mysqld.sock /run/mysqld/mysqld.sock --bind-try /var/run/mysqld/mysqld.sock
|
||||
/var/run/mysqld/mysqld.sock '$COPY-TRY /etc/exim.jail/$USER.conf $HOMEDIR/.msmtprc' --unshare-all
|
||||
--share-net --die-with-parent --dir /run/user/$UID ‘$PASSWD 65534’ ‘$GROUP 65534’
|
||||
</bubbleWrapCmd>
|
||||
<accessDenyDir>
|
||||
<dir>/</dir>
|
||||
<dir>/etc/*</dir>
|
||||
<dir>/dev/*</dir>
|
||||
<dir>$SERVER_ROOT/conf/*</dir>
|
||||
<dir>$SERVER_ROOT/admin/conf/*</dir>
|
||||
</accessDenyDir>
|
||||
<accessControl>
|
||||
<allow>ALL, 127.0.0.1T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 104.16.0.0/13T, 104.24.0.0/14T,
|
||||
108.162.192.0/18T, 131.0.72.0/22T, 141.101.64.0/18T, 162.158.0.0/15T, 172.64.0.0/13T, 173.245.48.0/20T,
|
||||
188.114.96.0/20T, 190.93.240.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 2400:cb00::/32T,
|
||||
2405:8100::/32T, 2405:b500::/32T, 2606:4700::/32T, 2803:f800::/32T, 2a06:98c0::/29T, 2c0f:f248::/32T,
|
||||
192.88.134.0/23T, 185.93.228.0/22, 66.248.200.0/22T, 208.109.0.0/22T, 2a02:fe80::/29T
|
||||
</allow>
|
||||
</accessControl>
|
||||
</security>
|
||||
<extProcessorList>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp5</name>
|
||||
<address>uds://tmp/lshttpd/lsphp5.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/fcgi-bin/lsphp5</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp53</name>
|
||||
<address>uds://tmp/lshttpd/lsphp53.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp53/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp54</name>
|
||||
<address>uds://tmp/lshttpd/lsphp54.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp54/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp55</name>
|
||||
<address>uds://tmp/lshttpd/lsphp55.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp55/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp56</name>
|
||||
<address>uds://tmp/lshttpd/lsphp56.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp56/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp70</name>
|
||||
<address>uds://tmp/lshttpd/lsphp70.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp70/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp71</name>
|
||||
<address>uds://tmp/lshttpd/lsphp71.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp71/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp72</name>
|
||||
<address>uds://tmp/lshttpd/lsphp72.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp72/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp73</name>
|
||||
<address>uds://tmp/lshttpd/lsphp73.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp73/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp74</name>
|
||||
<address>uds://tmp/lshttpd/lsphp74.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp74/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp80</name>
|
||||
<address>uds://tmp/lshttpd/lsphp80.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp80/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp81</name>
|
||||
<address>uds://tmp/lshttpd/lsphp81.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp81/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessorList>
|
||||
<scriptHandlerList>
|
||||
<scriptHandler>
|
||||
<suffix>php</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp5</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php5</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp5</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php53</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp53</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php54</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp54</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php55</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp55</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php56</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp56</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php70</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp70</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php71</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp71</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php72</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp72</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php73</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp73</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php74</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp74</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php80</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp80</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php81</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp81</handler>
|
||||
</scriptHandler>
|
||||
</scriptHandlerList>
|
||||
<phpConfig>
|
||||
</phpConfig>
|
||||
<railsDefaults>
|
||||
<railsEnv>1</railsEnv>
|
||||
<maxConns>5</maxConns>
|
||||
<env>LSAPI_MAX_IDLE=60</env>
|
||||
<initTimeout>180</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<pcKeepAliveTimeout>60</pcKeepAliveTimeout>
|
||||
<respBuffer>0</respBuffer>
|
||||
<backlog>50</backlog>
|
||||
<runOnStartUp>1</runOnStartUp>
|
||||
<priority>3</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</railsDefaults>
|
||||
</httpServerConfig>
|
||||
|
||||
Reference in New Issue
Block a user