|
|
|
@ -110,13 +110,13 @@ server {
|
|
|
|
|
location ~* /rtc/api(/)?$ {
|
|
|
|
|
|
|
|
|
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Prefer,Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Methods' 'POST, GET, PUT, DELETE, PATCH, OPTIONS' always;
|
|
|
|
|
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range,Location';
|
|
|
|
|
|
|
|
|
|
if ($request_method = 'OPTIONS') {
|
|
|
|
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Prefer,Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Methods' 'POST, GET, PUT, DELETE, PATCH, OPTIONS' always;
|
|
|
|
|
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range,Location';
|
|
|
|
|
add_header 'Access-Control-Max-Age' '1728000' always;
|
|
|
|
@ -154,13 +154,13 @@ server {
|
|
|
|
|
location /rtc/files {
|
|
|
|
|
|
|
|
|
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Prefer,Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Methods' 'POST, GET, PUT, DELETE, PATCH, OPTIONS' always;
|
|
|
|
|
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range,Location';
|
|
|
|
|
|
|
|
|
|
if ($request_method = 'OPTIONS') {
|
|
|
|
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Headers' 'Prefer,Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type' always;
|
|
|
|
|
add_header 'Access-Control-Allow-Methods' 'POST, GET, PUT, DELETE, PATCH, OPTIONS' always;
|
|
|
|
|
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range,Location';
|
|
|
|
|
add_header 'Access-Control-Max-Age' '1728000' always;
|
|
|
|
|