nevermind. i figured this out, proxy_store in nginx does exactly this.
go nginx!
location /images/ {
root /data/www;
error_page 404 = /fetch$uri;
}
location /fetch {
internal;
proxy_pass http://backend;
proxy_store on;
proxy_store_access
I've a web server (server1) with 30G data footprint - i used to rsync
the directory to a rather frail (but expensive) VM, but the sheer no.
of files is pushing rsync out of memory on the VM.
ever since rsync failed on me, i run squid as reverse proxy on the VM
against server1 - it works "ok", but
2 matches
Mail list logo