Skip to content

Commit

Permalink
Make sendfile configurable
Browse files Browse the repository at this point in the history
Conflicts:
	manifests/init.pp
  • Loading branch information
globin committed Jun 20, 2014
1 parent e248a70 commit 3387346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
$proxy_redirect = $nginx::params::nx_proxy_redirect,
$proxy_send_timeout = $nginx::params::nx_proxy_send_timeout,
$proxy_set_header = $nginx::params::nx_proxy_set_header,
$sendfile = $nginx::params::nx_sendfile,
$server_tokens = $nginx::params::nx_server_tokens,
$service_ensure = $nginx::params::nx_service_ensure,
$service_restart = $nginx::params::nx_service_restart,
Expand Down
2 changes: 1 addition & 1 deletion templates/conf.d/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ http {

access_log <%= @http_access_log %>;

sendfile <%= scope.lookupvar('nginx::params::nx_sendfile')%>;
sendfile <%= @sendfile %>;

server_tokens <%= @server_tokens %>;

Expand Down

0 comments on commit 3387346

Please sign in to comment.