30 lines
841 B
Plaintext
30 lines
841 B
Plaintext
#MaxClients 500
|
|
#ServerLimit 500
|
|
#StartServers 100
|
|
#MinSpareServers 40
|
|
#MaxSpareServers 60
|
|
|
|
SetEnvIf User-Agent "^BadBot$" GoAway=1
|
|
SetEnvIf User-Agent "Nutch" GoAway=1
|
|
SetEnvIf User-Agent "ApacheBench" GoAway=1
|
|
|
|
# Uncomment for SSL strong security
|
|
#<IfModule mod_ssl.c>
|
|
#SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
|
|
#SSLProtocol All -SSLv2 -SSLv3
|
|
#SSLHonorCipherOrder On
|
|
#SSLCompression off
|
|
#SSLSessionCache shmcb:/var/log/apache2/ssl_gcache_data(512000)
|
|
#SSLSessionCacheTimeout 600
|
|
## Stapling not activated by default. Need config.
|
|
##SSLUseStapling on
|
|
##SSLStaplingCache shmcb:${APACHE_RUN_DIR}/stapling-cache(150000)
|
|
#</IfModule>
|
|
|
|
#<FilesMatch ".(eot|ttf|otf|woff)">
|
|
# Header set Access-Control-Allow-Origin "*"
|
|
#</FilesMatch>
|
|
|
|
# you need disable EnableCapabilities to use data on NFS mounts
|
|
#EnableCapabilities off
|