Skip to content

Instantly share code, notes, and snippets.

@cjcolvar
Created November 30, 2012 16:53
Show Gist options
  • Save cjcolvar/4176956 to your computer and use it in GitHub Desktop.
Save cjcolvar/4176956 to your computer and use it in GitHub Desktop.
<Location /hls-vod>
HLSHttpStreamingEnabled true
HLSMediaFileDuration 8000
HttpStreamingContentPath "../webroot/vod"
HLSFmsDirPath ".."
HLSJITConfAllowed true
########################################
# Cache-control header configuration start
# Specify the max-age(in secs) to set in the Cache-Control header
# for different response types (m3u8, ts, drmmeta,...).
# A value of -1 turns off setting the cache control header.
HLSM3U8MaxAge 86400
HLSTSSegmentMaxAge 86400
HLSMetaMaxAge 3600
# Cache-control header configuration end
########################################
# Uncomment the following directives to enable encryption
# for this location.
# HLSEncryptionScope server
# HLSEncryptCipherKeyFile "../creds/vodkey.bin"
# HLSEncryptKeyURI "https://<ServerName>/hls-key/vodkey.bin"
Options -Indexes FollowSymLinks
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment