diff options
Diffstat (limited to 'main/lighttpd')
-rw-r--r-- | main/lighttpd/APKBUILD | 8 | ||||
-rw-r--r-- | main/lighttpd/lighttpd.conf | 4 | ||||
-rw-r--r-- | main/lighttpd/mod_fastcgi_fpm.conf | 16 |
3 files changed, 24 insertions, 4 deletions
diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD index 69c925326d..6fe0fe1ada 100644 --- a/main/lighttpd/APKBUILD +++ b/main/lighttpd/APKBUILD @@ -2,7 +2,7 @@ pkgname=lighttpd pkgver=1.4.28 _streamver=2.2.0 -pkgrel=3 +pkgrel=4 pkgdesc="a secure, fast, compliant and very flexible web-server" url="http://www.lighttpd.net/" arch="x86 x86_64" @@ -22,6 +22,7 @@ source="http://download.lighttpd.net/lighttpd/releases-1.4.x/$pkgname-$pkgver.ta mime-types.conf mod_cgi.conf mod_fastcgi.conf + mod_fastcgi_fpm.conf " subpackages="$pkgname-dev $pkgname-doc $pkgname-h264_streaming" @@ -109,7 +110,8 @@ ac37885c881a058194405232e7737a7a lighttpd-1.4.18_mod_h264_streaming-2.2.0.tar.g ad091c9157134890499f26d170352c9f lighttpd.logrotate 1d925aed297ec4541fb230dd19e11bc1 spawn-fcgi.confd 2f177ba0a35fd1c683edef3453c20bc8 spawn-fcgi.initd -df5b2360ea380d988bf16905ab214286 lighttpd.conf +cd41f073cdfe070f781ea41909e3b22b lighttpd.conf fef397e7bcf1b741dea211a555e1803c mime-types.conf 9c1407e95f62ed22da66c4ef5f69c3b5 mod_cgi.conf -f3363e39832f1b6678468b482d121afb mod_fastcgi.conf" +f3363e39832f1b6678468b482d121afb mod_fastcgi.conf +aee5947a1abf380b0685a534ca384b42 mod_fastcgi_fpm.conf" diff --git a/main/lighttpd/lighttpd.conf b/main/lighttpd/lighttpd.conf index 778a4062b6..dfc86e096d 100644 --- a/main/lighttpd/lighttpd.conf +++ b/main/lighttpd/lighttpd.conf @@ -42,8 +42,10 @@ server.modules = ( include "mime-types.conf" # uncomment for cgi support # include "mod_cgi.conf" -# uncomment for php/fastcgi support +# uncomment for fastcgi support # include "mod_fastcgi.conf" +# uncomment for php/fastcgi fpm support +# include "mod_fastcgi_fpm.conf" # }}} # {{{ server settings diff --git a/main/lighttpd/mod_fastcgi_fpm.conf b/main/lighttpd/mod_fastcgi_fpm.conf new file mode 100644 index 0000000000..926137a434 --- /dev/null +++ b/main/lighttpd/mod_fastcgi_fpm.conf @@ -0,0 +1,16 @@ +############################################################################### +# mod_fastcgi_fpm.conf +# include'd by lighttpd.conf. +############################################################################### + +server.modules += ("mod_fastcgi") +fastcgi.server = ( ".php" => + ( "localhost" => + ( + "host" => "127.0.0.1", + "port" => "9000" + ) + ) + ) + +# vim: set ft=conf foldmethod=marker et : |