Skip to content

Commit 173952c

Browse files
committed
imagery: update titiler to new http2 syntax
1 parent 99d99be commit 173952c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cookbooks/imagery/templates/default/nginx_titiler.conf.erb

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ upstream titiler_api_backend {
2121
}
2222

2323
server {
24-
listen 443 ssl http2;
25-
listen [::]:443 ssl http2;
24+
listen 443 ssl;
25+
listen [::]:443 ssl;
26+
27+
http2 on;
28+
2629
server_name <%= @name %> <% @aliases.each do |alias_name| %> <%= alias_name %><%- end -%>;
2730

2831
http2_max_concurrent_streams 512;

0 commit comments

Comments
 (0)