authenticate media and thumb requests

pull/274/head
simon 2 years ago
parent f0850522a7
commit 0528220b5e
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

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

Loading…
Cancel
Save