organize docker conf files

This commit is contained in:
simon
2022-01-26 20:05:52 +07:00
parent b6f9fb58ad
commit 2eea07c85e
4 changed files with 6 additions and 6 deletions

26
docker_assets/nginx.conf Normal file
View File

@@ -0,0 +1,26 @@
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/;
}
location / {
include uwsgi_params;
uwsgi_pass localhost:8080;
}
}