Welcome! Log In Create A New Profile

Advanced

proxy_store HEAD

Reinis Rozitis
November 10, 2011 09:28AM
Hello,
is there a (simple) way to make 'proxy_store on' store the files also on HEAD requests instead of just returning the response from
upstream?

I understand the reasons behind the current behaviour but I'm trying to build some sort of synchronisation between few nginx boxes
without the need to actually download the files to the client - so far the only option seems to use 'proxy_ignore_client_abort' make
a GET request and forcefully abort it (since even ranged 1 byte requests don't store the file on the "proxying" host).



p.s. it seems that wiki is a bit outdated and 'proxy_cache_methods' is deprecated/notexisting at least in 1.1.x tree

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_store HEAD

Reinis Rozitis November 10, 2011 09:28AM

Re: proxy_store HEAD

Maxim Dounin November 10, 2011 10:56AM

Re: proxy_store HEAD

Reinis Rozitis November 10, 2011 11:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
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