added streaming options.

This commit is contained in:
zshahan 2014-08-18 20:07:22 -05:00
parent d0f1f85e8e
commit e219e63875

View file

@ -80,6 +80,10 @@
# [*priority*] - Location priority. Default: 500. User priority
# 401-499, 501-599. If the priority is higher than the default priority,
# the location will be defined after root, or before root.
# [*mp4*] - Indicates whether or not this loation can be
# used for mp4 streaming. Default: false
# [*flv*] - Indicates whether or not this loation can be
# used for flv streaming. Default: false
#
#
# Actions:
@ -163,7 +167,9 @@ define nginx::resource::location (
$auth_basic = undef,
$auth_basic_user_file = undef,
$rewrite_rules = [],
$priority = 500
$priority = 500,
$mp4 = false,
$flv = false,
) {
include nginx::params