From 4d89e3bebad727c91f0c8a99704130f01b9e8bc5 Mon Sep 17 00:00:00 2001 From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Date: Mon, 13 Jun 2022 12:43:12 -0600 Subject: [PATCH] =?UTF-8?q?fixes=20a=20bug=20where=20nginx=20will=20crash?= =?UTF-8?q?=20if=20eos=20goes=20into=20diagnostic=20mode=20a=E2=80=A6=20(#?= =?UTF-8?q?1506)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes a bug where nginx will crash if eos goes into diagnostic mode after service init has completed --- backend/src/nginx/diagnostic-ui.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/src/nginx/diagnostic-ui.conf b/backend/src/nginx/diagnostic-ui.conf index 8e7558ebf..a186c1b10 100644 --- a/backend/src/nginx/diagnostic-ui.conf +++ b/backend/src/nginx/diagnostic-ui.conf @@ -1,3 +1,9 @@ + +map $http_upgrade $connection_upgrade { + default upgrade; + '' $http_connection; +} + server { listen 80 default_server; listen [::]:80 default_server;