hypercorn icon indicating copy to clipboard operation
hypercorn copied to clipboard

Can we have a default config filename?

Open yrro opened this issue 1 year ago • 0 comments

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.

yrro avatar Oct 09 '24 10:10 yrro