From 09e3f7aefc07013ccb9971000fa3286f7d71bc27 Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Thu, 1 Aug 2024 21:00:26 +1000 Subject: [PATCH] Update http2 listen directive to align with deprecation --- site-ssl.conf.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site-ssl.conf.tpl b/site-ssl.conf.tpl index 87c9105..0b6fed8 100644 --- a/site-ssl.conf.tpl +++ b/site-ssl.conf.tpl @@ -1,6 +1,7 @@ server { - listen NGPORT ssl http2; - listen [::]:NGPORT ssl http2; + listen NGPORT ssl; + listen [::]:NGPORT ssl; + http2 on; server_name NGDOMAIN; ssl_certificate CERTFILE; ssl_certificate_key PRVKEYFILE;