Adding OPTIONS to allowed methods for cors

coturn
Lyes Saadi 2026-09-29 22:59:33 +02:00
parent 69f160aee9
commit 061130c0d5
No known key found for this signature in database
GPG Key ID: 55A1D803917CF39A
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ in
"/.well-known/matrix/".extraConfig = '' "/.well-known/matrix/".extraConfig = ''
add_header 'Access-Control-Allow-Origin' '*' always; add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET' always; add_header 'Access-Control-Allow-Methods' 'GET' always;
add_header 'Access-Control-Allow-Methods' 'OPTIONS' always;
add_header 'Access-Control-Allow-Credentials' 'false' always; add_header 'Access-Control-Allow-Credentials' 'false' always;
add_header 'Vary' 'Origin' always; add_header 'Vary' 'Origin' always;
''; '';