this is happens when i upload config.json:
sudo curl -X PUT --data-binary @config.json --unix-socket /var/run/control.unit.sock http://localhost/config
{
"error": "Invalid configuration.",
"detail": "The module to run \"python 3.6\" is not found among the available application modules."
}
i tried: Python
, Python 3.7
my config.json that i trying to upload:
{
"listeners": {
"*:1234": {
"pass": "applications/flask"
}
},
"applications": {
"flask": {
"type": "python 3.6",
"processes": 5,
"path": "/home/123/123/",
"home": "/home/123/123/venv/",
"module": "wsgi",
"user": "root",
"group": "root"
}
}
}
This is all happens when i trying to make simple flask-demo with nginx unit