kopia lustrzana https://github.com/piku/piku
Merge pull request #135 from chr15m/fix-http-socket-dup
Fix clashing HTTP ports in uwsgi deploy.pull/143/head
commit
cb10116f79
2
piku.py
2
piku.py
|
@ -899,7 +899,7 @@ def spawn_worker(app, kind, command, env, ordinal=1):
|
|||
echo("-----> nginx will talk to uWSGI via {BIND_ADDRESS:s}:{PORT:s}".format(**env), fg='yellow')
|
||||
settings.extend([
|
||||
('http', '{BIND_ADDRESS:s}:{PORT:s}'.format(**env)),
|
||||
('http-socket', '{BIND_ADDRESS:s}:{PORT:s}'.format(**env)),
|
||||
('http-use-socket', '{BIND_ADDRESS:s}:{PORT:s}'.format(**env)),
|
||||
])
|
||||
elif kind == 'web':
|
||||
echo("-----> nginx will talk to the 'web' process via {BIND_ADDRESS:s}:{PORT:s}".format(**env), fg='yellow')
|
||||
|
|
Ładowanie…
Reference in New Issue