[uWSGI] Auth MongoDB collections for configuration

Roberto De Ioris roberto at unbit.it
Fri Apr 11 11:13:54 CEST 2014


> I see, then for links.
>
> Any plans to add this feature in the future?
>


you can use this patch:

https://github.com/unbit/uwsgi/commit/872730c116dcc0ee453aee33af10037e178f77da


it adds mongodb2:// imperial monitor that is keyval based:

--emperor
mongodb2://addr=127.0.0.1:2020,database=xxx,username=foo,password=bar

to trigger authentication you need database,username and password
(otherwise it will be skipped)



-- 
Roberto De Ioris
http://unbit.it


More information about the uWSGI mailing list