|
|
@ -3,18 +3,22 @@ server {
|
|
|
|
listen 8000;
|
|
|
|
listen 8000;
|
|
|
|
|
|
|
|
|
|
|
|
location /cache/videos/ {
|
|
|
|
location /cache/videos/ {
|
|
|
|
|
|
|
|
auth_request /api/ping/;
|
|
|
|
alias /cache/videos/;
|
|
|
|
alias /cache/videos/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
location /cache/channels/ {
|
|
|
|
location /cache/channels/ {
|
|
|
|
|
|
|
|
auth_request /api/ping/;
|
|
|
|
alias /cache/channels/;
|
|
|
|
alias /cache/channels/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
location /cache/playlists/ {
|
|
|
|
location /cache/playlists/ {
|
|
|
|
|
|
|
|
auth_request /api/ping/;
|
|
|
|
alias /cache/playlists/;
|
|
|
|
alias /cache/playlists/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
location /media/ {
|
|
|
|
location /media/ {
|
|
|
|
|
|
|
|
auth_request /api/ping/;
|
|
|
|
alias /youtube/;
|
|
|
|
alias /youtube/;
|
|
|
|
types {
|
|
|
|
types {
|
|
|
|
text/vtt vtt;
|
|
|
|
text/vtt vtt;
|
|
|
|