Changeset - 6a5fb5070765
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-09-19 22:50:12
dominikruf@gmail.com
config: make the UWSGI host/port configurable with make-config parameters

UWSGI doesn't use the same host/port settings as other servers do.
1 file changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/paster_commands/template.ini.mako
Show inline comments
 
@@ -109,9 +109,9 @@ timeout = 3600
 
[uwsgi]
 
socket = /tmp/uwsgi.sock
 
master = true
 
http = 127.0.0.1:5000
 
http = ${host}:${port}
 

	
 
<%text>## set as deamon and redirect all output to file</%text>
 
<%text>## set as daemon and redirect all output to file</%text>
 
#daemonize = ./uwsgi_kallithea.log
 

	
 
<%text>## master process PID</%text>
 
@@ -165,10 +165,11 @@ workers = 4
 
cheaper-step = 1
 

	
 
%endif
 
<%text>## COMMON ##</%text>
 
%if http_server != 'uwsgi':
 
host = ${host}
 
port = ${port}
 

	
 
%endif
 
<%text>## middleware for hosting the WSGI application under a URL prefix</%text>
 
#[filter:proxy-prefix]
 
#use = egg:PasteDeploy#prefix
0 comments (0 inline, 0 general)