From 36ac3575097fbc3993dba3213f7f50ecdf3327e5 Mon Sep 17 00:00:00 2001 From: nutra-bot Date: Sun, 14 May 2023 19:54:03 +0000 Subject: [PATCH] tidy nginx minio --- etc/nginx/conf.d/default.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index ddde54a..d387c88 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -60,10 +60,7 @@ server { #listen 80; listen 443 ssl http2; location / { - # To support websocket - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + # TODO: resolve weird host:port redirect issue? proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://localhost:9001; @@ -77,6 +74,7 @@ server { #listen 80; listen 443 ssl http2; location / { + # TODO: resolve websocket error on deployed domain # To support websocket proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; -- 2.52.0