This commit is contained in:
2023-08-01 13:32:55 +03:00
parent 177df76764
commit a1ede6401f
3 changed files with 12 additions and 20 deletions

View File

@@ -14,6 +14,14 @@ location /multystub/ {
proxy_pass http://multystub/;
}
location /ms/ {
# add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
proxy_pass http://ms/;
}
location /red-coder/ {
# add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';