This is the default example configuration of limit.conf provided by Redis. This config file was generated by Redis running on CentOS 7.
It is located under: /etc/systemd/system/redis.service.d/limit.conf
# If you need to change max open file limit
# for example, when you change maxclient in configuration
# you can change the LimitNOFILE value below
# see "man systemd.exec" for information
[Service]
LimitNOFILE=10240
Download the raw file with wget or curl
wget -O limit.conf.example http://exampleconfig.com/static/raw/redis/centos7/etc/systemd/system/redis.service.d/limit.conf
curl http://exampleconfig.com/static/raw/redis/centos7/etc/systemd/system/redis.service.d/limit.conf > limit.conf.example
Other config files you might find useful