From 7850545c7e1e677119a9df1efa64d3dc11a8f621 Mon Sep 17 00:00:00 2001 From: Lars Wiegman Date: Wed, 1 Sep 2021 20:27:39 +0200 Subject: [PATCH] Added support for uWSGI http-socket option --- piku.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piku.py b/piku.py index 5bd5470..9f4d806 100755 --- a/piku.py +++ b/piku.py @@ -990,6 +990,7 @@ def spawn_worker(app, kind, command, env, ordinal=1): settings.extend([ ('http', '{BIND_ADDRESS:s}:{PORT:s}'.format(**env)), ('http-use-socket', '{BIND_ADDRESS:s}:{PORT:s}'.format(**env)), + ('http-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')