tubearchivist-frontend/docker_assets/nginx.conf

30 lines
437 B
Nginx Configuration File
Raw Permalink 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
}
location /media/ {
alias /youtube/;
types {
text/vtt vtt;
}
2021-09-05 17:10:14 +00:00
}
location / {
include uwsgi_params;
uwsgi_pass localhost:8080;
}
}