Browse Source

nginx: added mod_wsgi (WIP)

user/amery/mess
Alejandro Mery 16 years ago
committed by Alejandro Mery
parent
commit
39a7b009d4
2 changed files with 14 additions and 0 deletions
  1. +13
    -0
      network/nginx/nginx.conf
  2. +1
    -0
      network/nginx/nginx.desc

+ 13
- 0
network/nginx/nginx.conf

@ -82,3 +82,16 @@ fi
var_append CC_WRAPPER_REMOVE " " "-Werror"
# wsgi support - should be made a config option
if pkginstalled python; then
wsgi_extract() {
local file=$(match_source_file -p wsgi)
cd "$builddir"
tar -v $taropt "$file"
ln -sv mod_wsgi-* mod_wsgi
cd - > /dev/null
}
var_append confopt ' ' '--add-module=../mod_wsgi'
hook_add prepatch 5 'wsgi_extract'
fi

+ 1
- 0
network/nginx/nginx.desc

@ -49,3 +49,4 @@
[CV-URL] http://nginx.org/en/download.html
[D] 4143773363 nginx-0.8.50.tar.gz http://nginx.org/download/
[D] X nginx-mod_wsgi-r258.tar.gz !http://hg.mperillo.ath.cx/nginx/mod_wsgi/archive/8994b058d2db.tar.gz

Loading…
Cancel
Save