More easy options for deploying without having to modify paste.ini...
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 30 Oct 2011 18:58:54 +0000 (13:58 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 30 Oct 2011 18:58:54 +0000 (13:58 -0500)
paste.ini

index e65de6697d54209f910b990ac9aaef8929a04cb8..047ccff6af482501fc43293b5c751d4d0264eadf 100644 (file)
--- 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