return function (loader)

  local Default = loader.load "cosy.configuration.layers".default

  Default.redis = {
    interface = "localhost",
    port      = 6379,
    database  = 0,
    pool_size = 5,
  }

end

return function (loader)

  local Default = loader.load "cosy.configuration.layers".default

  Default.redis = {
    interface = "127.0.0.1",
    port      = 6379,
    database  = 0,
    pool_size = 5,
  }

end

Use 127.0.0.1 for redis instead of localhost, because it does not work in ubuntu.
Use 127.0.0.1 for redis instead of localhost, because it does not work in ubuntu.
