ServerRoot /etc/apache2/ DefaultRuntimeDir ${APACHE_RUN_DIR} PidFile /tmp/apache2.pid ServerName zabbix IncludeOptional /etc/apache2/includes.conf Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} HostnameLookups Off LogLevel warn SetEnvIf Request_URI "^/(robots\.txt|favicon\.ico|status|ping|apache-status)$" exclude_from_logs LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined CustomLog ${APACHE_CUSTOM_LOG} vhost_combined env=!exclude_from_logs ErrorLog /proc/self/fd/2 LogLevel warn StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxRequestWorkers 150 MaxConnectionsPerChild 0 # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac). Require all denied ServerTokens ${APACHE_SERVER_TOKENS} ServerSignature ${APACHE_SERVER_SIGNATURE} TraceEnable Off AddDefaultCharset UTF-8 RequestReadTimeout handshake=0 header=20-40,MinRate=500 body=20,MinRate=500 SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml AddType application/x-httpd-php-source .phps DirectoryIndex ${HTTP_INDEX_FILE} DocumentRoot "${ZABBIX_WWW_ROOT}" SetHandler server-status Require local ExtendedStatus On ProxyStatus On