From c44af7bde75905061c5eefb3524aa3b05672e0aa Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 24 Jun 2024 22:27:07 -0400 Subject: [PATCH] Use the http2 directive in nginx instead of the deprecated method of appending it to the end of the listen --- nginx/sites-available/stats.REPLACEME.TLD.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx/sites-available/stats.REPLACEME.TLD.conf b/nginx/sites-available/stats.REPLACEME.TLD.conf index 6b079b9..7860652 100644 --- a/nginx/sites-available/stats.REPLACEME.TLD.conf +++ b/nginx/sites-available/stats.REPLACEME.TLD.conf @@ -8,8 +8,9 @@ server { } server { - listen [::]:443 ssl http2; - listen 443 ssl http2; + listen [::]:443 ssl; + listen 443 ssl; + http2 on; server_name stats.REPLACEME.TLD; root /srv/http/stats.REPLACEME.TLD;