# OPSİYONEL — Sadece Origin’i daraltmak istiyorsanız (varsayılan snippet $http_origin kullanır).
# http { } içine: include /path/to/nginx-http-livekit-cors-map.conf;
# location içinde: add_header Access-Control-Allow-Origin $lk_cors always;

map $http_origin $lk_cors {
    default "";
    "~^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" $http_origin;
    "~^https://([^/]+\.)?novazeka\.com\.tr$" $http_origin;
}
