diff options
author | Dennis Eriksen <d@ennis.no> | 2019-10-19 10:40:03 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-10-19 10:40:03 +0200 |
commit | 20f81371b55a9444fa06da1fb41501509f1411d8 (patch) | |
tree | e612f46f2fd5a182e9b5c7d543f445cad7a5c9f5 /mkosi.skeleton | |
download | mkosi-matrix-20f81371b55a9444fa06da1fb41501509f1411d8.tar.gz |
initial commit
Diffstat (limited to 'mkosi.skeleton')
-rw-r--r-- | mkosi.skeleton/root/apache2.kanboard.conf | 20 | ||||
-rw-r--r-- | mkosi.skeleton/root/apache2.mpm_prefork.conf | 16 | ||||
-rw-r--r-- | mkosi.skeleton/root/apache2.ports.conf | 4 |
3 files changed, 40 insertions, 0 deletions
diff --git a/mkosi.skeleton/root/apache2.kanboard.conf b/mkosi.skeleton/root/apache2.kanboard.conf new file mode 100644 index 0000000..53454a1 --- /dev/null +++ b/mkosi.skeleton/root/apache2.kanboard.conf @@ -0,0 +1,20 @@ +<VirtualHost *:8302> + + ServerName kanboard.dnns.no + 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 + +</VirtualHost> + + + diff --git a/mkosi.skeleton/root/apache2.mpm_prefork.conf b/mkosi.skeleton/root/apache2.mpm_prefork.conf new file mode 100644 index 0000000..73ceafc --- /dev/null +++ b/mkosi.skeleton/root/apache2.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 + +<IfModule mpm_prefork_module> + StartServers 1 + MinSpareServers 1 + MaxSpareServers 10 + MaxRequestWorkers 75 + MaxConnectionsPerChild 0 +</IfModule> + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/mkosi.skeleton/root/apache2.ports.conf b/mkosi.skeleton/root/apache2.ports.conf new file mode 100644 index 0000000..b750446 --- /dev/null +++ b/mkosi.skeleton/root/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 |