aboutsummaryrefslogtreecommitdiffstats
path: root/paste.ini
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-10-30 13:58:54 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-10-30 13:58:54 -0500
commit6b7779ea5713bd74ac219940125330743ba37650 (patch)
treec57527865db25e7be78b2c495ef627b953f1741b /paste.ini
parente260065ae543885a80ca98dcc3394e763c80d007 (diff)
downloadmediagoblin-6b7779ea5713bd74ac219940125330743ba37650.tar.lz
mediagoblin-6b7779ea5713bd74ac219940125330743ba37650.tar.xz
mediagoblin-6b7779ea5713bd74ac219940125330743ba37650.zip
More easy options for deploying without having to modify paste.ini...
Diffstat (limited to 'paste.ini')
-rw-r--r--paste.ini9
1 files changed, 7 insertions, 2 deletions
diff --git a/paste.ini b/paste.ini
index e65de669..047ccff6 100644
--- a/paste.ini
+++ b/paste.ini
@@ -66,5 +66,10 @@ port = 6543
# Use this if you want to connect via fastcgi
[server:fcgi]
use = egg:flup#fcgi
-host = 127.0.0.1
-port = 26543
+host = %(fcgi_host)s
+port = %(fcgi_port)s
+
+[server:http]
+use = egg:Paste#http
+host = %(http_host)s
+port = %(http_port)s