add_header 'Access-Control-Allow-Origin' "$http_origin"; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT'; add_header 'Access-Control-Allow-Headers'...

启动: redis-server & 登入:redis-cli / redis-cli -p 6379 -a test123 设置 : config set requirepass 123456 验证: 123456 查询: config get requirepass