add client-side generation for playlist.json for static builds

This commit is contained in:
Mitchell Scott
2025-06-13 08:37:01 -06:00
parent 1ac514293b
commit 2827913d42
4 changed files with 67 additions and 18 deletions

20
nginx.conf Normal file
View File

@@ -0,0 +1,20 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
location / {
index index.html index.htm;
try_files $uri $uri/ =404;
}
location /music/ {
autoindex on;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}