This is the default example configuration of 95-redis.conf provided by Redis. This config file was generated by Redis running on CentOS 6.
It is located under: /etc/security/limits.d/95-redis.conf
# If you need to change max open file limit
# for example, when you change maxclient in configuration
# you can change the value below
# see "man limits.conf" for information
redis soft nofile 10240
redis hard nofile 10240
Download the raw file with wget or curl
wget -O 95-redis.conf.example http://exampleconfig.com/static/raw/redis/centos6/etc/security/limits.d/95-redis.conf
curl http://exampleconfig.com/static/raw/redis/centos6/etc/security/limits.d/95-redis.conf > 95-redis.conf.example
Other config files you might find useful