From ba5c06565fd40265727bc0fd0d28c52f1a5b3685 Mon Sep 17 00:00:00 2001 From: Brayan Almonte Date: Sat, 7 Jan 2023 08:21:26 -0500 Subject: [PATCH] fix(recipes-robot): we should not set proxy headers for the /protocols endpoint in nginx conf (#193) --- board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf b/board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf index e4897daf2b..8d38ed48eb 100644 --- a/board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf +++ b/board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf @@ -39,9 +39,6 @@ http { proxy_read_timeout 1h; proxy_pass http://unix:/run/aiohttp.sock; - # Proxying these hop-by-hop headers is necessary for WebSockets. - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; # need for uploading large protocols client_max_body_size 0; }