Skip to content

Commit 21db72a

Browse files
author
Thom
committed
Enable http/2 for the panel and Apps vhost.
1 parent d0d5415 commit 21db72a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

install/tpl/nginx_apps.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server {
2-
listen {apps_vhost_ip}{apps_vhost_port} {ssl_on};
3-
listen [::]:{apps_vhost_port} {ssl_on} ipv6only=on;
2+
listen {apps_vhost_ip}{apps_vhost_port} {ssl_on} http2;
3+
listen [::]:{apps_vhost_port} {ssl_on} ipv6only=on http2;
44

55
{ssl_comment}ssl_protocols TLSv1.2;
66
{ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;

install/tpl/nginx_ispconfig.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server {
2-
listen {vhost_port} {ssl_on};
3-
listen [::]:{vhost_port} {ssl_on} ipv6only=on;
2+
listen {vhost_port} {ssl_on} http2;
3+
listen [::]:{vhost_port} {ssl_on} ipv6only=on http2;
44

55
{ssl_comment}ssl_protocols TLSv1.2;
66
{ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;

server/conf/nginx_apps.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server {
2-
listen {apps_vhost_ip}{apps_vhost_port} {ssl_on};
3-
listen [::]:{apps_vhost_port} {ssl_on} ipv6only=on;
2+
listen {apps_vhost_ip}{apps_vhost_port} {ssl_on} http2;
3+
listen [::]:{apps_vhost_port} {ssl_on} ipv6only=on http2;
44

55
{ssl_comment}ssl_protocols TLSv1.2;
66
{ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;

0 commit comments

Comments
 (0)