Re: reverse proxy with directory replication capability

2010-09-21 Thread Evuraan
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

reverse proxy with directory replication capability

2010-09-21 Thread Evuraan
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