I have a uwsgi.ini file. It works perfectly, but if I add strict=true
it fails with the message
[strict-mode] unknown config directive: inifile
however the word inifile
doesn't even exist in my inifile.
In order to reproduce the error I went so far, that I created a uwsgi.ini file with only two lines.
[uwsgi]
strict=true
If I run uwsgi --ini uwsgi.ini
I get above mentioned error
If I set strict to false I get of course errors about missing parameters.
Even if I use a yaml file with following contents:
uwsgi:
strict: true
and I call with uwsgi -y uwsgi.yaml
I get:
[uWSGI] getting YAML configuration from uwsgi.yaml
[strict-mode] unknown config directive: inifile
So I think uwsgi wants to tell me something different, but I don't know what.
I like to keep the strict flag to be protected against typos or options that became obsolete or just exist in newer versions. It is difficult to diagnose if I don't get help finding the offending line.
I tested with uwsgi 2.0.18 and 2.0.21