summaryrefslogtreecommitdiff
path: root/net-mail/sympa/files/sympa-lighttpd.conf
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2014-09-29 09:02:24 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2014-09-29 09:02:24 +0200
commit103cf8b2ebc990a52011b7b0adeab45dc63ee99d (patch)
tree8cf2d2fef53dd6a17ed142614ccc255f3db29246 /net-mail/sympa/files/sympa-lighttpd.conf
downloadportage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.tar.gz
portage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.tar.bz2
portage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.zip
Initial commit
Diffstat (limited to 'net-mail/sympa/files/sympa-lighttpd.conf')
-rw-r--r--net-mail/sympa/files/sympa-lighttpd.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-mail/sympa/files/sympa-lighttpd.conf b/net-mail/sympa/files/sympa-lighttpd.conf
new file mode 100644
index 0000000..7023086
--- /dev/null
+++ b/net-mail/sympa/files/sympa-lighttpd.conf
@@ -0,0 +1,14 @@
+server.modules += ("mod_fastcgi")
+
+alias.url += ( "/static-sympa/" => "/var/spool/sympa/static_content/" )
+
+$HTTP["url"] =~ "^/sympa" {
+fastcgi.server = ( "/sympa" =>
+ (( "check-local" => "disable",
+ "bin-path" => "/usr/libexec/sympa/wwsympa-wrapper.fcgi",
+ "socket" => "/var/run/lighttpd/sympa.sock",
+ "max-procs" => 2,
+ "idle-timeout" => 20,
+ ))
+ )
+}