Skip to content

Commit

Permalink
fix(recipes-robot): we should not set proxy headers for the /protocol…
Browse files Browse the repository at this point in the history
…s endpoint in nginx conf (#193)
  • Loading branch information
vegano1 authored Jan 7, 2023
1 parent 2e69303 commit ba5c065
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions board/opentrons/ot2/rootfs-overlay/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ba5c065

Please sign in to comment.