mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 13:10:15 +00:00
3ae9fe5405
* Modify Dockerfile and the nginx.conf file to avoid Nginx default config IPv6 conflict. * Adjust nginx.conf name and run.sh nginx modification. * but nginx.conf file back Co-authored-by: simon <simobilleter@gmail.com>
29 lines
460 B
Nginx Configuration File
29 lines
460 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;
|
|
}
|
|
|
|
} |