Skip to content

Commit a37119c

Browse files
jaketuskenyon
authored andcommitted
Fix streamhost default logging
Current default values will cause Nginx to fail to start if nginx::stream is true. http://nginx.org/en/docs/stream/ngx_stream_log_module.html#access_log Format must be defined, which current default configuration doesn't do. Nginx default is "off", and therefore the module default should be "off" as well.
1 parent 071c48d commit a37119c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
Stdlib::Filemode $log_mode = $nginx::params::log_mode,
6666
Variant[String, Array[String]] $http_access_log = "${log_dir}/access.log",
6767
Optional[String] $http_format_log = undef,
68-
Variant[String, Array[String]] $stream_access_log = "${log_dir}/stream-access.log",
68+
Variant[String, Array[String]] $stream_access_log = 'off',
6969
Optional[String] $stream_custom_format_log = undef,
7070
Variant[String, Array[String]] $nginx_error_log = "${log_dir}/error.log",
7171
Nginx::ErrorLogSeverity $nginx_error_log_severity = 'error',

0 commit comments

Comments
 (0)