Merge pull request #513 from 3flex/fix-future-parser-failures
fix a future parser failure introduced by #510
This commit is contained in:
commit
311e50461e
1 changed files with 4 additions and 4 deletions
|
@ -514,22 +514,22 @@ define nginx::resource::vhost (
|
||||||
|
|
||||||
# Support location_cfg_prepend and location_cfg_append on default location created by vhost
|
# Support location_cfg_prepend and location_cfg_append on default location created by vhost
|
||||||
if $location_cfg_prepend {
|
if $location_cfg_prepend {
|
||||||
::Nginx::Resource::Location["${name_sanitized}-default"] {
|
Nginx::Resource::Location["${name_sanitized}-default"] {
|
||||||
location_cfg_prepend => $location_cfg_prepend }
|
location_cfg_prepend => $location_cfg_prepend }
|
||||||
}
|
}
|
||||||
|
|
||||||
if $location_cfg_append {
|
if $location_cfg_append {
|
||||||
::Nginx::Resource::Location["${name_sanitized}-default"] {
|
Nginx::Resource::Location["${name_sanitized}-default"] {
|
||||||
location_cfg_append => $location_cfg_append }
|
location_cfg_append => $location_cfg_append }
|
||||||
}
|
}
|
||||||
|
|
||||||
if $location_custom_cfg_prepend {
|
if $location_custom_cfg_prepend {
|
||||||
::Nginx::Resource::Location["${name_sanitized}-default"] {
|
Nginx::Resource::Location["${name_sanitized}-default"] {
|
||||||
location_custom_cfg_prepend => $location_custom_cfg_prepend }
|
location_custom_cfg_prepend => $location_custom_cfg_prepend }
|
||||||
}
|
}
|
||||||
|
|
||||||
if $location_custom_cfg_append {
|
if $location_custom_cfg_append {
|
||||||
::Nginx::Resource::Location["${name_sanitized}-default"] {
|
Nginx::Resource::Location["${name_sanitized}-default"] {
|
||||||
location_custom_cfg_append => $location_custom_cfg_append }
|
location_custom_cfg_append => $location_custom_cfg_append }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue