Samesite - proxy that can cache partial transfers

Annotation For nginx.conf
anonymous

Annotation For nginx.conf

Origin for each line in nginx.conf from check-in 996aa0149d:

08ae38b6ce 2010-06-25    1: # sample nginx config to serve the local site
08ae38b6ce 2010-06-25    2: 
08ae38b6ce 2010-06-25    3: server {
08ae38b6ce 2010-06-25    4: 	listen *:80;
08ae38b6ce 2010-06-25    5: 	listen [fec0::1]:80;
996aa0149d 2013-03-13    6: 	server_name ^(?<domain>.+).hijack;
08ae38b6ce 2010-06-25    7: 	access_log /var/log/nginx/site_name.access.log;
08ae38b6ce 2010-06-25    8: 	error_log /var/log/nginx/site_name.error.log debug;
95fc83d16a 2012-01-20    9: 	expires -1;
95fc83d16a 2012-01-20   10: 	try_files $uri @break;
08ae38b6ce 2010-06-25   11: 	error_page 404 = @break;
95fc83d16a 2012-01-20   12: 	log_not_found off;
95fc83d16a 2012-01-20   13: 	# autoindex on;
08ae38b6ce 2010-06-25   14: 
08ae38b6ce 2010-06-25   15: 	location / {
95fc83d16a 2012-01-20   16: 		if ($request_method != HEAD) {
996aa0149d 2013-03-13   17: 			root /path/to/www/$domain;
95fc83d16a 2012-01-20   18: 		}
08ae38b6ce 2010-06-25   19: 	}
08ae38b6ce 2010-06-25   20: 
08ae38b6ce 2010-06-25   21: 	location @break {
2af344df7b 2012-01-20   22: 		# pointing out where our server listens
95fc83d16a 2012-01-20   23: 		proxy_pass http://localhost:8008;
2af344df7b 2012-01-20   24: 		# saying that we downloading from real site
996aa0149d 2013-03-13   25: 		proxy_set_header Host $domain;
95fc83d16a 2012-01-20   26: 		proxy_read_timeout 600;
08ae38b6ce 2010-06-25   27: 	}
08ae38b6ce 2010-06-25   28: }