From f8fcc67216ac38239ad3f62cf80465f7748813cc Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 28 Jan 2021 23:50:19 +0200
Subject: [PATCH] Enable HTTP2 on the rest of the sites.

---
 conf.d/autoconfig.shore.co.il.conf | 4 ++--
 conf.d/myip.shore.co.il.conf       | 4 ++--
 conf.d/registry.shore.co.il.conf   | 4 ++--
 conf.d/shore.co.il.conf            | 4 ++--
 conf.d/www.shore.co.il.conf        | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf.d/autoconfig.shore.co.il.conf b/conf.d/autoconfig.shore.co.il.conf
index 84109f9..32ec843 100644
--- a/conf.d/autoconfig.shore.co.il.conf
+++ b/conf.d/autoconfig.shore.co.il.conf
@@ -10,8 +10,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name autoconfig.shore.co.il;
     root        /var/www/autoconfig.shore.co.il/;
     include     snippets/robots-allow-all.conf;
diff --git a/conf.d/myip.shore.co.il.conf b/conf.d/myip.shore.co.il.conf
index 55aa113..ff02079 100644
--- a/conf.d/myip.shore.co.il.conf
+++ b/conf.d/myip.shore.co.il.conf
@@ -10,8 +10,8 @@ server {
 }
 
 server {
-    listen              443 ssl;
-    listen              [::]:443 ssl;
+    listen              443 ssl http2;
+    listen              [::]:443 ssl http2;
     server_name         myip.shore.co.il;
     include             snippets/robots-disallow-all.conf;
     include             snippets/ads-txt.conf;
diff --git a/conf.d/registry.shore.co.il.conf b/conf.d/registry.shore.co.il.conf
index 6989213..83ebaa0 100644
--- a/conf.d/registry.shore.co.il.conf
+++ b/conf.d/registry.shore.co.il.conf
@@ -10,8 +10,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name registry.shore.co.il;
     include     snippets/ssl.conf;
 
diff --git a/conf.d/shore.co.il.conf b/conf.d/shore.co.il.conf
index 437a1da..b98371a 100644
--- a/conf.d/shore.co.il.conf
+++ b/conf.d/shore.co.il.conf
@@ -16,8 +16,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name shore.co.il;
     include     snippets/robots-allow-all.conf;
     include     snippets/ads-txt.conf;
diff --git a/conf.d/www.shore.co.il.conf b/conf.d/www.shore.co.il.conf
index b62661b..3f79fdb 100644
--- a/conf.d/www.shore.co.il.conf
+++ b/conf.d/www.shore.co.il.conf
@@ -14,8 +14,8 @@ server {
 }
 
 server {
-    listen                  443 ssl;
-    listen                  [::]:443 ssl;
+    listen                  443 ssl http2;
+    listen                  [::]:443 ssl http2;
     server_name             www.shore.co.il;
     include                 snippets/robots-allow-all.conf;
     include                 snippets/ads-txt.conf;
-- 
GitLab