From 9ed03cc1c7651446b32fcdf298bcaacdccbbf874 Mon Sep 17 00:00:00 2001 From: Stepn_V Date: Sat, 14 Oct 2023 22:23:29 -0300 Subject: [PATCH] feat: simple cors for Presence location connect --- nginx.conf.sigil | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 0179d3d..f015ed5 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -60,6 +60,9 @@ server { add_header 'Access-Control-Allow-Origin' 'https://discoursio-webapp.vercel.app'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization'; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; } # Error pages