From 5af917d36fe992c0feb5284d60e86dbe1a33d01e Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 29 Jul 2025 00:33:44 +0100 Subject: [PATCH] vectortile: Use http/1.1 to backend --- cookbooks/vectortile/templates/default/nginx.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/vectortile/templates/default/nginx.erb b/cookbooks/vectortile/templates/default/nginx.erb index 2695e4c0c..09b62964a 100644 --- a/cookbooks/vectortile/templates/default/nginx.erb +++ b/cookbooks/vectortile/templates/default/nginx.erb @@ -45,10 +45,14 @@ server { } location /shortbread_v1/ { proxy_pass http://tilekiln; + proxy_http_version 1.1; + proxy_set_header Connection ""; add_header Cache-Control "public,max-age=300,stale-while-revalidate=3600,stale-if-error=86400"; } location /demo/ { proxy_pass http://demo; + proxy_http_version 1.1; + proxy_set_header Connection ""; } root /srv/vector.openstreetmap.org/html; } -- 2.39.5