hypercorn
hypercorn copied to clipboard
Can we have a default config filename?
With gunicorn I find it convenient to create a gunicorn.conf.py file which contains all the settings needed to run my app (the module/factory for the application, see #229). That way, I can run my app by simply launching gunicorn, which will load all the necessary settings from gunicorn.conf.py.
With hypercorn, there doesn't seem to be a default for the config file, so I always have to run hypercorn -c hypercorn.toml which is less convenient to type. It would nice if hypercorn defaulted to reading hypercorn.toml out of the current directory if it exists.