mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2024-12-21 09:20:12 +00:00
33 lines
592 B
Nginx Configuration File
33 lines
592 B
Nginx Configuration File
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;
|
|
}
|
|
}
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
uwsgi_pass localhost:8080;
|
|
}
|
|
|
|
} |