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 95fc83d16a:

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;
08ae38b6ce 2010-06-25    6: 	server_name site.to.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;
08ae38b6ce 2010-06-25    9: 	# if no file found locally we are breaking connection
08ae38b6ce 2010-06-25   10: 	# helps with clients that treat 404 as general error
95fc83d16a 2012-01-20   11: 	expires -1;
95fc83d16a 2012-01-20   12: 	try_files $uri @break;
08ae38b6ce 2010-06-25   13: 	error_page 404 = @break;
95fc83d16a 2012-01-20   14: 	log_not_found off;
95fc83d16a 2012-01-20   15: 	# autoindex on;
08ae38b6ce 2010-06-25   16: 
08ae38b6ce 2010-06-25   17: 	location / {
95fc83d16a 2012-01-20   18: 		if ($request_method != HEAD) {
95fc83d16a 2012-01-20   19: 			root /home/arcade/www/windowsupdate;
95fc83d16a 2012-01-20   20: 		}
08ae38b6ce 2010-06-25   21: 	}
08ae38b6ce 2010-06-25   22: 
08ae38b6ce 2010-06-25   23: 	location @break {
95fc83d16a 2012-01-20   24: 		proxy_pass http://localhost:8008;
95fc83d16a 2012-01-20   25: 		proxy_set_header Host download.windowsupdate.com;
95fc83d16a 2012-01-20   26: 		proxy_read_timeout 600;
08ae38b6ce 2010-06-25   27: 	}
08ae38b6ce 2010-06-25   28: }