|
@@ -12,7 +12,7 @@
|
|
|
# with nginx::resource::upstream
|
|
|
# [*proxy_read_timeout*] - Override the default the proxy read timeout value of 90 seconds
|
|
|
# [*ssl*] - Indicates whether to setup SSL bindings for this location.
|
|
|
-# [*ssl_only*] - Required if the SSL and normal vHost have the same port.
|
|
|
+# [*ssl_only*] - Required if the SSL and normal vHost have the same port.
|
|
|
# [*location_alias*] - Path to be used as basis for serving requests for this location
|
|
|
# [*stub_status*] - If true it will point configure module stub_status to provide nginx stats on location
|
|
|
# [*location_cfg_prepend*] - It expects a hash with custom directives to put before anything else inside location
|
|
@@ -48,6 +48,7 @@
|
|
|
# }
|
|
|
|
|
|
define nginx::resource::location (
|
|
|
+ $location,
|
|
|
$ensure = present,
|
|
|
$vhost = undef,
|
|
|
$www_root = undef,
|
|
@@ -64,8 +65,8 @@ define nginx::resource::location (
|
|
|
$stub_status = undef,
|
|
|
$location_cfg_prepend = undef,
|
|
|
$location_cfg_append = undef,
|
|
|
- $try_files = undef,
|
|
|
- $location) {
|
|
|
+ $try_files = undef
|
|
|
+) {
|
|
|
File {
|
|
|
owner => 'root',
|
|
|
group => 'root',
|