puppet-nginx icon indicating copy to clipboard operation
puppet-nginx copied to clipboard

Question: how to add access.log basic buffer=32k;

Open rmalenko opened this issue 5 years ago • 2 comments

Hello, Could someone, please, prompt me what I should use in a manifest to have in a config compression buffer=32k; like this access_log /spool/logs/nginx-access.log compression buffer=32k;?

Module ngx_http_log_module

Thank in advance

rmalenko avatar Oct 04 '19 14:10 rmalenko

You could use format_log as it is appended to the access_log, see https://github.com/voxpupuli/puppet-nginx/blob/master/templates/server/server_header.erb#L171. It's not really meant for such use, but it takes any value type, including strings.

Rubueno avatar Nov 04 '19 12:11 Rubueno

You could use format_log as it is appended to the access_log, see

Thank you a lot!

rmalenko avatar Nov 04 '19 13:11 rmalenko