proxy music.json to static nginx server that has access to obs-mcr-disks

This commit is contained in:
Jan Koppe 2021-12-23 17:36:52 +00:00
parent 02fe2db1f1
commit a196a935ea
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ server {
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always; add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
} }
location /music.json {
proxy_pass http://s1.wup1.mon2.de:8989;
}
} }
#error_page 404 /404.html; #error_page 404 /404.html;