mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
30 lines
437 B
Nginx Configuration File
30 lines
437 B
Nginx Configuration File
server {
|
|
|
|
listen 8000;
|
|
|
|
location /cache/videos/ {
|
|
alias /cache/videos/;
|
|
}
|
|
|
|
location /cache/channels/ {
|
|
alias /cache/channels/;
|
|
}
|
|
|
|
location /cache/playlists/ {
|
|
alias /cache/playlists/;
|
|
}
|
|
|
|
location /media/ {
|
|
alias /youtube/;
|
|
|
|
types {
|
|
text/vtt vtt;
|
|
}
|
|
}
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
uwsgi_pass localhost:8080;
|
|
}
|
|
|
|
} |