luddinus
1119
2
Laravel

Redis configuration on production

Posted 1 year ago by luddinus

Hi everybody.

I want to switch the session driver from file to redis.

I have an ubuntu machine on AWS, and got redis installed. I installed predis/predis package too.

I'm overwhelming with too many information, I'm not asking how to use redis (I guess I have too change the session driver in environment file and that's all). I'm asking for a "good" configuration of redis in ubuntu.

Also, noob question I guess, but when I start redis-server on production server, redis is active, but when I close that tab, redis is down.

Anyway, need some light in configuration.

Thanks.

Please sign in or create an account to participate in this conversation.