Browse Source
* 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>testing


3 changed files with 9 additions and 10 deletions
@ -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