summaryrefslogtreecommitdiff
path: root/user/apache-httpd/conf/httpd.conf
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2019-10-01 00:31:19 +0000
committerDan Theisen <djt@hxx.in>2019-10-01 00:31:19 +0000
commita7906406ecd52a1156f0f182b92a72be648f87b3 (patch)
treec4b2f1ed9d3fac9bb2b640452a1289bb22b44ae6 /user/apache-httpd/conf/httpd.conf
parent1fd6a5653cafb745824061e04571fe9aa8a9b0a0 (diff)
downloadpackages-a7906406ecd52a1156f0f182b92a72be648f87b3.tar.gz
packages-a7906406ecd52a1156f0f182b92a72be648f87b3.tar.bz2
packages-a7906406ecd52a1156f0f182b92a72be648f87b3.tar.xz
packages-a7906406ecd52a1156f0f182b92a72be648f87b3.zip
user/apache-httpd: enable dynamic mpm modules
Diffstat (limited to 'user/apache-httpd/conf/httpd.conf')
-rw-r--r--user/apache-httpd/conf/httpd.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/apache-httpd/conf/httpd.conf b/user/apache-httpd/conf/httpd.conf
index 7fe8adfdf..bada89139 100644
--- a/user/apache-httpd/conf/httpd.conf
+++ b/user/apache-httpd/conf/httpd.conf
@@ -11,6 +11,14 @@ ServerTokens Prod
# What IP/port to listen on. By default, listens to port 80 on all IPs.
Listen 80
+# Only ONE of the following modules should be uncommented to select the
+# Multi-Processing Module that Apache should use to handle connections.
+# Read More: https://httpd.apache.org/docs/2.4/mpm.html
+# Adélie Linux enables mpm_event by default, as it performs better
+# than mpm_prefork for most use cases.
+LoadModule mpm_event_module /usr/libexec/apache2/mod_mpm_event.so
+#LoadModule mpm_prefork_module /usr/libexec/apache2/mod_mpm_prefork.so
+
# The rest of these modules are required for basic operations.
LoadModule log_config_module /usr/libexec/apache2/mod_log_config.so
LoadModule mime_module /usr/libexec/apache2/mod_mime.so