From 489b6a5306f268d5c35466a82ef1184764d0f30d Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 21 Jun 2011 10:56:55 +0000 Subject: aports/main: move redmine and deps to main --- main/redmine/lighttpd-virtual.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 main/redmine/lighttpd-virtual.conf (limited to 'main/redmine/lighttpd-virtual.conf') diff --git a/main/redmine/lighttpd-virtual.conf b/main/redmine/lighttpd-virtual.conf new file mode 100644 index 0000000000..be0c684b0c --- /dev/null +++ b/main/redmine/lighttpd-virtual.conf @@ -0,0 +1,26 @@ +## copy this file to /etc/lighttpd to enable virtual hosting +## make sure you set hostname correctly + +server.modules += ( "mod_simple_vhost" , "mod_fastcgi" ) + +$HTTP["host"] =~ "^www\.example\.org$" { + server.document-root = "/var/www/localhost/htdocs/redmine/public/" + server.follow-symlink = "enable" + server.indexfiles = ( "dispatch.fcgi" ) + server.error-handler-404 = "/dispatch.fcgi" + + fastcgi.server = ( + ".fcgi" => ( + "redmine" => ( + "bin-path" => "/usr/bin/ruby /var/www/localhost/htdocs/redmine/public/dispatch.fcgi", + "socket" => "/tmp/redmine.socket", + "min-procs" => 1, + "max-procs" => 4, + "idle-timeout" => 120, + "check-local" => "disable", + "bin-environment" => ( "RAILS_ENV" => "production" ), + ) + ) + ) +} + -- cgit v1.2.3