Redis doesn't work well in CentOS 7

Nextcloud version: 13.0.1
Operating system and version:CentOS 7
Apache or nginx version: nginx/1.12.2
PHP version :7.0.27

My English is not good。
I 've been installing nextcloud for over a year.
Selinux has been shut down because it was never debugged.

I have been working on the following folders:
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/nginx/html/nextcloud/data(/.)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/nginx/html/nextcloud/config(/.
)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/nginx/html/nextcloud/apps(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/nginx/html/nextcloud/.htaccess’
semanage fcontext -a -t httpd_sys_rw_content_t ‘/usr/share/nginx//html/nextcloud/.user.ini’

restorecon -Rv ‘/usr/share/nginxhtml/nextcloud/’

Adjustments to Redis configuration file/etc/redis.conf:
unixsocketperm 770

and then add nginx to the redis group in /etc/group :
redis:x:994:nginx

Log error:Redis::connect(): connect() failed: Permission denied at /usr/share/nginx/html/nextcloud/lib/private/RedisFactory.php#84

While selinx can run all the services when it’s closed, I’m not going to do that for security reasons. Can someone help me? Thank you.