Welcome! Log In Create A New Profile

Advanced

Re: Nginx use Redis for caching

Sergey A. Osokin
April 07, 2023 07:46PM
Hi,

hope you're doing well.

On Thu, Apr 06, 2023 at 09:59:10AM -0500, Software Info wrote:
> I am trying to figure out how to use redis for caching in nginx. I
> found out how to do it in Wordpress but for a local php based site
> that was set up, I am not seeing how to do it. Shouldn't I be able to
> pass settings in nginx.conf for the Redis url and password? Can anyone
> point me in the right direction please? Thanks in advance.

I believe that all necessary information is available in README,
https://github.com/osokin/ngx_http_redis/blob/master/README.

Please go ahead and take a look on the Example 3, it
describes how to:
o) create a gzipped content;
o) push the gzipped content to a redis server;
o) configure nginx to get a content from the redis server.

Hope that helps.

Thank you.

--
Sergey A. Osokin
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx use Redis for caching

Software Info April 06, 2023 11:00AM

Re: Nginx use Redis for caching

Sergey A. Osokin April 07, 2023 07:46PM

Re: Nginx use Redis for caching

Software Info April 13, 2023 03:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready