##// END OF EJS Templates
config: make the UWSGI host/port configurable with make-config parameters...
domruf -
r6854:6a5fb507 default
parent child Browse files
Show More
@@ -109,9 +109,9 b' timeout = 3600'
109 [uwsgi]
109 [uwsgi]
110 socket = /tmp/uwsgi.sock
110 socket = /tmp/uwsgi.sock
111 master = true
111 master = true
112 http = 127.0.0.1:5000
112 http = ${host}:${port}
113
113
114 <%text>## set as deamon and redirect all output to file</%text>
114 <%text>## set as daemon and redirect all output to file</%text>
115 #daemonize = ./uwsgi_kallithea.log
115 #daemonize = ./uwsgi_kallithea.log
116
116
117 <%text>## master process PID</%text>
117 <%text>## master process PID</%text>
@@ -165,10 +165,11 b' workers = 4'
165 cheaper-step = 1
165 cheaper-step = 1
166
166
167 %endif
167 %endif
168 <%text>## COMMON ##</%text>
168 %if http_server != 'uwsgi':
169 host = ${host}
169 host = ${host}
170 port = ${port}
170 port = ${port}
171
171
172 %endif
172 <%text>## middleware for hosting the WSGI application under a URL prefix</%text>
173 <%text>## middleware for hosting the WSGI application under a URL prefix</%text>
173 #[filter:proxy-prefix]
174 #[filter:proxy-prefix]
174 #use = egg:PasteDeploy#prefix
175 #use = egg:PasteDeploy#prefix
General Comments 0
You need to be logged in to leave comments. Login now