Modify Dockerfile and the nginx.conf file to avoid Nginx default conf… (#203)
* 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>pull/207/head
parent
12fa5748d4
commit
3ae9fe5405
@ -1,30 +1,29 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue