diff --git a/nginx.conf b/nginx.conf index b7e719e..7dac1c4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,6 +16,9 @@ http { # Use the placeholders for the proxy pass (these will be replaced by envsubst) proxy_pass ${PROTOCOL}://$BACKEND_ADDRESS:$BACKEND_PORT; # proxy_pass http://$BACKEND_ADDRESS:$BACKEND_PORT; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;