Serves the recordings directory over HTTP with autoindex on port 8080. Users can browse by date and play MP3 files natively in the browser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
508 B
508 B
1. Nginx Configuration
- 1.1 Create
nginx.confwith a server block that serves/recordingswithautoindex onand correct MIME type for MP3 files
2. Docker Integration
- 2.1 Add an
nginxservice todocker-compose.ymlusingnginx:alpine, mounting/home/m/recordingsto/recordings:roand./nginx.confto the Nginx config path, exposing port 8080
3. Deploy and Verify
- 3.1 Deploy to the Pi and verify directory browsing and MP3 playback work at
http://sdr-pi:8080