/red-coder

This commit is contained in:
2022-04-16 23:14:28 +03:00
parent f858c7949d
commit 1a9a61bf98
2 changed files with 12 additions and 0 deletions

View File

@@ -14,6 +14,14 @@ location /multystub/ {
proxy_pass http://multystub/;
}
location /red-coder/ {
# 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://red_coder/;
}
location /socket.io/ {
proxy_pass http://websocket;