================================================================================ novazeka.com.tr — /rtc ve /twirp için doğru sıra (Unexpected 200 önleme) ================================================================================ 443 server { } içinde tipik hata: "location /" veya PHP önce gelir; /rtc isteği PHP’ye veya SPA’ya düşer → WebSocket yerine 200 HTML döner. Doğru sıra (özet): 1) ssl_certificate / listen 443 ... 2) large_client_header_buffers (snippet içinde de var) 3) include .../nginx-livekit-novazeka-root.snippet.conf ← ÖNCE 4) location / { try_files ... } veya PHP 5) include php-fpm ... Sunucuda doğrulama (Linux): curl -sI -o /dev/null -w "%{http_code}\n" "https://novazeka.com.tr/rtc" Beklenen: 400 veya 405 (LiveKit yanıtı) — 200 + text/html ise yanlış location. WebSocket el sıkışması: curl -i -N \ -H "Connection: Upgrade" -H "Upgrade: websocket" \ -H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \ "https://novazeka.com.tr/rtc" Beklenen: HTTP/1.1 101 Switching Protocols (veya 400 LiveKit’ten) Cloudflare kullanıyorsanız: SSL/TLS “Full”, WebSockets açık; /rtc için “Rocket Loader” vb. kapatın.