rstudio / redx

dynamic nginx configuration
BSD 2-Clause "Simplified" License
117 stars 27 forks source link

Add the ability to specify a redis database integer to connect to #8

Open cbarraford opened 9 years ago

cbarraford commented 9 years ago

Right now redx only allows you to connect to database 0. There should be a config option to connect to any database.

Example redis uri (connecting to db 7)

redis://authstring@192.168.1.1:6379/7
cbarraford commented 9 years ago

Added an issue to lua-resty-redis to add this feature. https://github.com/openresty/lua-resty-redis/issues/53