add sample config for nginx+uwsgi or lighttpd+fcgi

This commit is contained in:
Bryce Allen
2015-03-20 21:37:31 -05:00
parent 2730e46f52
commit 7020f0378d
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# This assumes mod_fastcgi is already enabled by other config and
# that the git repository is checked out in /var/www. Change as
# needed.
fastcgi.server += ( "/mhapi/" =>
((
"bin-path" => "/var/www/monster-hunter-scripts/bin/mhapi_fcgi.py",
"socket" => "/var/run/lighttpd/fcgi-mhapi.socket",
"check-local" => "disable",
"min-procs" => 1,
"max-procs" => 10,
"bin-environment" => (
"PYTHONPATH" => "/var/www/monster-hunter-scripts",
),
))
)