Skip to content

Commit 4946eca

Browse files
author
Till Brehm
committed
Update nginx_vhost.conf.master
1 parent 36cdb85 commit 4946eca

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,18 @@ server {
355355
<tmpl_if name='ipv6_enabled'>
356356
listen [<tmpl_var name='ipv6_address'>]:<tmpl_var name='http_port'>;
357357
</tmpl_if>
358+
<tmpl_if name='ipv6_wildcard'>
359+
listen [::]:<tmpl_var name='http_port'>;
360+
</tmpl_if>
361+
358362

359363
<tmpl_if name='ssl_enabled'>
360-
listen <tmpl_var name='ip_address'>:<tmpl_var name='https_port'> ssl;
364+
listen <tmpl_var name='ip_address'>:<tmpl_var name='https_port'> ssl http2;
361365
<tmpl_if name='ipv6_enabled'>
362-
listen [<tmpl_var name='ipv6_address'>]:<tmpl_var name='https_port'> ssl;
366+
listen [<tmpl_var name='ipv6_address'>]:<tmpl_var name='https_port'> ssl http2;
367+
</tmpl_if>
368+
<tmpl_if name='ipv6_wildcard'>
369+
listen [::]:<tmpl_var name='https_port'> ssl http2;
363370
</tmpl_if>
364371
ssl_certificate <tmpl_var name='ssl_crt_file'>;
365372
ssl_certificate_key <tmpl_var name='ssl_key_file'>;

0 commit comments

Comments
 (0)