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

---
 conf.d/code.shore.co.il.conf      | 4 ++--
 conf.d/git.shore.co.il.conf       | 4 ++--
 conf.d/lam.shore.co.il            | 4 ++--
 conf.d/mail.shore.co.il.conf      | 4 ++--
 conf.d/nextcloud.shore.co.il.conf | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf.d/code.shore.co.il.conf b/conf.d/code.shore.co.il.conf
index 9c62ba7..8745c5b 100644
--- a/conf.d/code.shore.co.il.conf
+++ b/conf.d/code.shore.co.il.conf
@@ -12,8 +12,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name code.shore.co.il;
     include     snippets/robots-disallow-all.conf;
     include     snippets/ads-txt.conf;
diff --git a/conf.d/git.shore.co.il.conf b/conf.d/git.shore.co.il.conf
index 65989ac..0c8eeee 100644
--- a/conf.d/git.shore.co.il.conf
+++ b/conf.d/git.shore.co.il.conf
@@ -12,8 +12,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name git.shore.co.il;
     include     snippets/robots-allow-all.conf;
     include     snippets/ads-txt.conf;
diff --git a/conf.d/lam.shore.co.il b/conf.d/lam.shore.co.il
index b8f7eff..1dfd38b 100644
--- a/conf.d/lam.shore.co.il
+++ b/conf.d/lam.shore.co.il
@@ -12,8 +12,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name lam.shore.co.il;
     include     snippets/robots-disallow-all.conf;
     include     snippets/ads-txt.conf;
diff --git a/conf.d/mail.shore.co.il.conf b/conf.d/mail.shore.co.il.conf
index 322764a..b366276 100644
--- a/conf.d/mail.shore.co.il.conf
+++ b/conf.d/mail.shore.co.il.conf
@@ -9,8 +9,8 @@ server {
 }
 
 server {
-    listen                      443 ssl;
-    listen                      [::]:443 ssl;
+    listen                      443 ssl http2;
+    listen                      [::]:443 ssl http2;
     server_name                 mta-sts.shore.co.il;
     root                        /var/www/mail.shore.co.il/;
     include                     snippets/robots-disallow-all.conf;
diff --git a/conf.d/nextcloud.shore.co.il.conf b/conf.d/nextcloud.shore.co.il.conf
index f138c70..cb4389c 100644
--- a/conf.d/nextcloud.shore.co.il.conf
+++ b/conf.d/nextcloud.shore.co.il.conf
@@ -12,8 +12,8 @@ server {
 }
 
 server {
-    listen      443 ssl;
-    listen      [::]:443 ssl;
+    listen      443 ssl http2;
+    listen      [::]:443 ssl http2;
     server_name nextcloud.shore.co.il;
     include     snippets/robots-disallow-all.conf;
     include     snippets/ads-txt.conf;
-- 
GitLab