2016-10-11 03:58:51 +02:00
|
|
|
ServerTokens Prod
|
|
|
|
Timeout 10
|
|
|
|
KeepAliveTimeout 2
|
|
|
|
MaxKeepAliveRequests 10
|
2016-12-12 16:48:57 +01:00
|
|
|
#MaxClients 250
|
2021-04-19 17:35:49 +02:00
|
|
|
|
|
|
|
<IfModule mpm_prefork_module>
|
|
|
|
MaxRequestWorkers 250
|
|
|
|
ServerLimit 250
|
|
|
|
StartServers 50
|
|
|
|
MinSpareServers 20
|
|
|
|
MaxSpareServers 30
|
2023-11-16 14:45:07 +01:00
|
|
|
MaxConnectionsPerChild 100
|
2021-04-19 17:35:49 +02:00
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule mpm_worker_module>
|
|
|
|
StartServers 3
|
|
|
|
MinSpareThreads 25
|
|
|
|
MaxSpareThreads 75
|
|
|
|
ThreadLimit 64
|
|
|
|
ThreadsPerChild 25
|
|
|
|
MaxRequestWorkers 150
|
2023-11-16 14:43:22 +01:00
|
|
|
MaxConnectionsPerChild 100
|
2021-04-19 17:35:49 +02:00
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule mpm_itk_module>
|
|
|
|
LimitUIDRange 0 6000
|
|
|
|
LimitGIDRange 0 6000
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule ssl_module>
|
|
|
|
SSLProtocol all -SSLv2 -SSLv3
|
|
|
|
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!RC4
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule status_module>
|
|
|
|
ExtendedStatus On
|
|
|
|
<IfModule proxy_module>
|
|
|
|
ProxyStatus On
|
|
|
|
</IfModule>
|
|
|
|
</IfModule>
|
|
|
|
|
2023-11-16 14:21:45 +01:00
|
|
|
# Go away bad bots (define "bad bots" in zzz-evolinux-custom.conf)
|
|
|
|
<If "reqenv('GoAway') -eq 1">
|
|
|
|
Require all denied
|
|
|
|
</If>
|
2021-02-22 16:06:57 +01:00
|
|
|
|
2021-12-28 16:11:20 +01:00
|
|
|
<DirectoryMatch "/\.git">
|
|
|
|
# We don't want to let the client know a file exist on the server,
|
|
|
|
# so we return 404 "Not found" instead of 403 "Forbidden".
|
2023-12-11 18:19:38 +01:00
|
|
|
Redirect 404 "-"
|
2021-12-28 16:11:20 +01:00
|
|
|
</DirectoryMatch>
|
2021-02-22 16:06:57 +01:00
|
|
|
|
2021-12-28 16:11:20 +01:00
|
|
|
# File names starting with
|
|
|
|
<FilesMatch "^\.(git|env)">
|
2023-12-11 18:19:38 +01:00
|
|
|
Redirect 404 "-"
|
2021-12-28 16:11:20 +01:00
|
|
|
</FilesMatch>
|
2017-07-28 21:28:19 +02:00
|
|
|
|
2021-12-28 16:11:20 +01:00
|
|
|
# File names ending with
|
|
|
|
<FilesMatch "\.(inc|bak)$">
|
2023-12-11 18:19:38 +01:00
|
|
|
Redirect 404 "-"
|
2021-12-28 16:11:20 +01:00
|
|
|
</FilesMatch>
|
2021-02-22 16:06:57 +01:00
|
|
|
|
|
|
|
<LocationMatch "^/evolinux_fpm_status-.*">
|
|
|
|
Require all denied
|
|
|
|
</LocationMatch>
|
2021-12-20 09:59:25 +01:00
|
|
|
|