🔨 Updates for upstream Supervisor changes

This commit is contained in:
Franck Nijhof 2020-02-12 00:03:14 +01:00
parent eb1c56b556
commit f326d9ab2e
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 10 additions and 10 deletions

View file

@ -36,7 +36,7 @@ function authenticate()
body = ngx.encode_args({["username"]=username, ["password"]=password}),
headers = {
["Content-Type"] = "application/x-www-form-urlencoded",
["X-HASSIO-KEY"] = os.getenv("HASSIO_TOKEN"),
["X-Supervisor-Token"] = os.getenv("SUPERVISOR_TOKEN"),
},
keepalive_timeout = 60,
keepalive_pool = 10