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 30e9655020:

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