Commit 98a75c19 authored by Stefane Fermigier's avatar Stefane Fermigier

fix: gunicorn not starting

parent 559a20a4
......@@ -14,4 +14,4 @@
# not need these here).
[instance-profile]
filename = instance.cfg.in
md5sum = 8c56b370d0344e6d325818827447c3be
md5sum = 4db0d997f3e669d4d4d5a27652fec9e8
......@@ -46,10 +46,7 @@ ssl = ${:etc}/ssl
recipe = slapos.cookbook:wrapper
host = ${slap-configuration:ipv6-random}
port = ${slap-configuration:configuration.port}
command-line = {{ gunicorn_bin }} --bind [${:host}]:${:port} \
--pid server.pid -k uvicorn.workers.UvicornWorker -w 4 \
--keyfile "${certificates:ssl_key}" --certfile "${certificates:ssl_crt}" \
mynij_proxy:app
command-line = {{ gunicorn_bin }} --bind [${:host}]:${:port} --pid server.pid -k uvicorn.workers.UvicornWorker -w 4 --keyfile "${certificates:ssl_key}" --certfile "${certificates:ssl_crt}" 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