From 950fe73c4f10cdfbe9d0964ef5c4d6f6ad8f9954 Mon Sep 17 00:00:00 2001 From: soudhaf Date: Thu, 9 Sep 2021 07:41:06 +0100 Subject: [PATCH] fix: minio console nginx config (#13156) --- docs/orchestration/docker-compose/nginx.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/orchestration/docker-compose/nginx.conf b/docs/orchestration/docker-compose/nginx.conf index 9b6ccdc10..abc57e3f2 100644 --- a/docs/orchestration/docker-compose/nginx.conf +++ b/docs/orchestration/docker-compose/nginx.conf @@ -90,9 +90,12 @@ http { real_ip_header X-Real-IP; proxy_connect_timeout 300; - # Default is HTTP/1, keepalive is only enabled in HTTP/1.1 + + # To support websocket proxy_http_version 1.1; - proxy_set_header Connection ""; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + chunked_transfer_encoding off; proxy_pass http://console;