From 56da13fcc88a7d19d58451603c8632818deb7307 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 2 Apr 2024 17:57:35 +0100 Subject: [PATCH] imagery: increase nginx keepalive again --- cookbooks/imagery/templates/default/nginx_imagery.conf.erb | 2 +- cookbooks/imagery/templates/default/nginx_titiler.conf.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index 106ce22d6..019b0a91b 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -28,7 +28,7 @@ server { server_name <%= @name %> a.<%= @name %> b.<%= @name %> c.<%= @name %><% @aliases.each do |alias_name| %> <%= alias_name %> a.<%= alias_name %> b.<%= alias_name %> c.<%= alias_name %><%- end -%>; http2_max_concurrent_streams 512; - keepalive_timeout 10s; + keepalive_timeout 30s; ssl_certificate /etc/ssl/certs/<%= @name %>.pem; ssl_certificate_key /etc/ssl/private/<%= @name %>.key; diff --git a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb index a1dbb9377..d3595ace8 100644 --- a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb @@ -21,7 +21,7 @@ server { server_name <%= @name %> <% @aliases.each do |alias_name| %> <%= alias_name %><%- end -%>; http2_max_concurrent_streams 512; - keepalive_timeout 10s; + keepalive_timeout 30s; ssl_certificate /etc/ssl/certs/<%= @name %>.pem; ssl_certificate_key /etc/ssl/private/<%= @name %>.key; -- 2.39.5