proxy music.json to static nginx server that has access to obs-mcr-disks
This commit is contained in:
parent
02fe2db1f1
commit
a196a935ea
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue