Sign inSign up

jtilander/docker-webcache

By jtilander

•Updated about 8 years ago

A simple nginx base proxy cache.

Image
0

3.5K

jtilander/docker-webcache repository overview

⁠Nginx proxy cache

A simple frontend for caching requests to an upstream source.

⁠Volumes

PathDescription
/cacheStore nginx cache data here

⁠Environment variables

NameDefaultDescription
LISTENPORT8888Bind the webserver to this port (useful for host network)
UPSTREAMInclude protocol, server address and port for upstream target
WORKERS4How many nginx worker processes to spawn
MAX_EVENTS1024How many connections we can handle
SENDFILEonTurn sendfile kerenel optimization on?
TCP_NOPUSHoffDisable TCP push?
CACHE_SIZE1GSize of cache on disk
CACHE_MEM10mRam size for cache keys
CACHE_AGE365dWhen should we auto retire entries?
USE_PERFLOG0Also logs to /log/access.log if set to 1, useful for exporting⁠
PROXY_CACHE_LOCKonOnly allow one cache request to the upstream
SSLoffSet to on, to use SSL over the listenport
CERTIFICATE/etc/certs.d/bad.pemUse this to map in a proper certificate
CERTIFICATE_KEY/etc/certs.d/bad.keyUse this to map in a proper key

⁠Resources

Tag summary

Content type

Image

Digest

Size

10.3 MB

Last updated

about 8 years ago

docker pull jtilander/docker-webcache