tubearchivist/docker_assets/nginx.conf

29 lines
460 B
Nginx Configuration File
Raw Normal View History

2021-09-05 17:10:14 +00:00
server {
listen 8000;
location /cache/videos/ {
alias /cache/videos/;
}
location /cache/channels/ {
alias /cache/channels/;
}
location /cache/playlists/ {
alias /cache/playlists/;
2021-09-05 17:10:14 +00:00
}
2021-09-05 17:10:14 +00:00
location /media/ {
alias /youtube/;
types {
text/vtt vtt;
}
2021-09-05 17:10:14 +00:00
}
2021-09-05 17:10:14 +00:00
location / {
include uwsgi_params;
uwsgi_pass localhost:8080;
}
2021-09-05 17:10:14 +00:00
}