From: Grant Slater Date: Tue, 18 Feb 2025 17:07:08 +0000 (+0100) Subject: imagery: update titiler to new http2 syntax X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/173952c580ed56979a580e78c56c629c84751d98 imagery: update titiler to new http2 syntax --- diff --git a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb index 155620949..055c2f849 100644 --- a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb @@ -21,8 +21,11 @@ upstream titiler_api_backend { } server { - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + + http2 on; + server_name <%= @name %> <% @aliases.each do |alias_name| %> <%= alias_name %><%- end -%>; http2_max_concurrent_streams 512;