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
All checks were successful
Deploy on push / deploy (push) Successful in 57s

This commit is contained in:
Stepan Vladovskiy 2025-01-28 18:57:27 -03:00
parent a218d1309b
commit cd8f5977af

View File

@ -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 "";
}