X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/10c43610dee70032db40008996790bdeb54632b6..0150db364d939a5a69244aca6a66ad05903979fe:/redis.conf diff --git a/redis.conf b/redis.conf index 803e3ec1..e8c6cd82 100644 --- a/redis.conf +++ b/redis.conf @@ -16,7 +16,7 @@ port 6379 # # bind 127.0.0.1 -# Close the connection after a client is idle for N seconds +# Close the connection after a client is idle for N seconds (0 to disable) timeout 300 # Save the DB on disk: @@ -34,6 +34,9 @@ save 900 1 save 300 10 save 60 10000 +# The filename where to dump the DB +dbfilename dump.rdb + # For default save/load DB in/from the working directory # Note that you must specify a directory not a file name. dir ./ @@ -50,7 +53,9 @@ loglevel debug # output for logging but daemonize, logs will be sent to /dev/null logfile stdout -# Set the number of databases. +# Set the number of databases. The default database is DB 0, you can select +# a different one on a per-connection basis using SELECT where +# dbid is a number between 0 and 'databases'-1 databases 16 ################################# REPLICATION ################################# @@ -62,6 +67,17 @@ databases 16 # slaveof +################################## SECURITY ################################### + +# Require clients to issue AUTH before processing any other +# commands. This might be useful in environments in which you do not trust +# others with access to the host running redis-server. +# +# This should stay commented out for backward compatibility and because most +# people do not need auth (e.g. they run their own servers). + +# requirepass foobared + ############################### ADVANCED CONFIG ############################### # Glue small output buffers together in order to send small replies in a