Files
ac-ms-media-transcode/nginx/hls-location.conf
Anton Afanasyeu 5ca8a9f539 Add lab restream pipeline with pirate_drift logo and lib/env.sh.
Encode-once/fanout scripts, HLS output, and single overloadable env source.
Commits assets/pirate_drift.png as default watermark for cluster runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 15:27:24 +02:00

15 lines
484 B
Plaintext

# Snippet for Alpine BE nginx (apps-port80.conf).
# Serves HLS segments written by streaming_v2 when HLS_OUTPUT_DIR is set.
# Replace @HLS_ROOT@ with the absolute storage path (e.g. /var/www/ac/media-pipelines/hls).
location ^~ /app/androidcast_project/media/hls/ {
alias @HLS_ROOT@/;
add_header Cache-Control "no-cache";
add_header Access-Control-Allow-Origin "*";
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
default_type application/vnd.apple.mpegurl;
}