From cd8f5977afe65d06886bfb7f95039f31a57e2803 Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Tue, 28 Jan 2025 18:57:27 -0300 Subject: [PATCH] debug: sv just in case for testing maping issue and trying to find place with filter maybe, in this option if dscrs.site origin then allow is discours.io --- nginx.conf.sigil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index a079f289..aecc7dbd 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -12,7 +12,7 @@ log_format custom '$remote_addr - $remote_user [$time_local] "$request" ' map $http_origin $allow_origin { ~^https?:\/\/(.*\.)?localhost(:\d+)?$ $http_origin; ~^https?:\/\/(.*\.)?discours\.io$ $http_origin; - ~^https?:\/\/(.*\.)?dscrs\.site$ $http_origin; + ~^https?:\/\/(.*\.)?dscrs\.site$ "https://testing.discours.io"; ~^https?:\/\/discoursio-webapp(-.*)?\.vercel\.app$ $http_origin; default ""; }