From e54f406f33a501a5aacd47b813de6aeb472eca84 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 12 Nov 2019 07:46:32 +0100 Subject: moving from mkosi.skeleton to mkosi.extra --- .../etc/apache2/mods-available/mpm_prefork.conf | 16 +++++++++++++++ mkosi.extra/etc/apache2/ports.conf | 4 ++++ .../etc/apache2/sites-available/kanboard.conf | 24 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 mkosi.extra/etc/apache2/mods-available/mpm_prefork.conf create mode 100644 mkosi.extra/etc/apache2/ports.conf create mode 100644 mkosi.extra/etc/apache2/sites-available/kanboard.conf (limited to 'mkosi.extra/etc/apache2') diff --git a/mkosi.extra/etc/apache2/mods-available/mpm_prefork.conf b/mkosi.extra/etc/apache2/mods-available/mpm_prefork.conf new file mode 100644 index 0000000..73ceafc --- /dev/null +++ b/mkosi.extra/etc/apache2/mods-available/mpm_prefork.conf @@ -0,0 +1,16 @@ +# prefork MPM +# StartServers: number of server processes to start +# MinSpareServers: minimum number of server processes which are kept spare +# MaxSpareServers: maximum number of server processes which are kept spare +# MaxRequestWorkers: maximum number of server processes allowed to start +# MaxConnectionsPerChild: maximum number of requests a server process serves + + + StartServers 1 + MinSpareServers 1 + MaxSpareServers 10 + MaxRequestWorkers 75 + MaxConnectionsPerChild 0 + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/mkosi.extra/etc/apache2/ports.conf b/mkosi.extra/etc/apache2/ports.conf new file mode 100644 index 0000000..b750446 --- /dev/null +++ b/mkosi.extra/etc/apache2/ports.conf @@ -0,0 +1,4 @@ +Listen 127.0.0.1:8302 +Listen [::1]:8302 + +# vim: syntax=apache ts=4 sw=4 sr noet diff --git a/mkosi.extra/etc/apache2/sites-available/kanboard.conf b/mkosi.extra/etc/apache2/sites-available/kanboard.conf new file mode 100644 index 0000000..4f4c268 --- /dev/null +++ b/mkosi.extra/etc/apache2/sites-available/kanboard.conf @@ -0,0 +1,24 @@ + + + ServerName kanboard + UseCanonicalName on + + DocumentRoot /var/www/kanboard + DirectoryIndex index.php index.html + + # To cirkumvent phps $_SERVER['HTTPS']-check + SetEnv HTTPS "on" + + AcceptPathInfo On + + # Trust the remote user forwarded by nginx + SetEnvIf X-Forwarded-User (.*) REMOTE_USER=$1 + + + AllowOverride FileInfo Options=All,MultiViews AuthConfig + + + + + + -- cgit v1.2.3