]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb
imagery: enable TCP Fast Open
[chef.git] / cookbooks / imagery / templates / default / nginx_imagery_layer_fragment.conf.erb
index fc0b9e3943d6f640d7ca5bdc475022b1a1c801bf..548d0f3c90944b93a1d488c36ca8d5818a3830fc 100644 (file)
@@ -17,6 +17,7 @@ location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" {
   fastcgi_cache_use_stale error timeout updating http_500 http_503;
 
   gzip off;
+  expires 7d;
 }
 
 <% if @root_layer -%>