Commit 715068f2 authored by Stefane Fermigier's avatar Stefane Fermigier

fix: user proper gunicorn launch arguments.

parent 90fcaa7b
......@@ -14,4 +14,4 @@
# not need these here).
[instance-profile]
filename = instance.cfg.in
md5sum = 6427d223ae4ca11f0bbfdf30ec349535
md5sum = eeaff3951aa569a1f81d23b268f76f1e
......@@ -45,7 +45,9 @@ plugins = ${:etc}/plugins
recipe = slapos.cookbook:wrapper
host = ${slap-configuration:ipv6-random}
port = ${slap-configuration:configuration.port}
command-line = {{ gunicorn_bin }} --bind [${:host}]:${:port} app:app
command-line = {{ gunicorn_bin }} --bind [${:host}]:${:port} \
--pid server.pid -k uvicorn.workers.UvicornWorker -w 4 \
mynij_proxy:app
wrapper-path = ${directory:service}/mynij-proxy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment