Nginx Alpine with HTTP Redis
278
This repo contains latest official Docker image of Nginx Alpine with HTTP Redis module compiled in.
Usage:
docker run -d -v ./nginx.conf:/etc/nginx/conf.d/default.conf:ro stepankuzmin/nginx-with-redis
Example configuration:
server {
location / {
set $redis_key $uri;
redis_pass name:6379;
default_type text/html;
error_page 404 = /fallback;
}
location = /fallback {
proxy_pass backend;
}
}
Note: The backend should set the data in redis. The redis key is /uri?args.
Content type
Image
Digest
Size
6.5 MB
Last updated
almost 9 years ago
docker pull stepankuzmin/nginx-redis