| Index: modules/nginx/templates/nginx.conf.erb |
| =================================================================== |
| --- a/modules/nginx/templates/nginx.conf.erb |
| +++ b/modules/nginx/templates/nginx.conf.erb |
| @@ -14,17 +14,18 @@ http { |
| include /etc/nginx/mime.types; |
| default_type application/octet-stream; |
| log_format main '$remote_addr - $remote_user [$time_local] "$request" ' |
| '$status $bytes_sent "$http_referer" ' |
| '"$http_user_agent" "$http_x_forwarded_for" $scheme ' |
| '"$http_accept_language" "$http_host" "$http_x_client_id"'; |
| - access_log /var/log/nginx/access.log main; |
| + access_log /var/log/nginx/access.log main; |
| + server_tokens off; |
| sendfile <%= scope.lookupvar('nginx::params::sendfile')%>; |
| <% if scope.lookupvar('nginx::params::tcp_nopush') == 'on' %> |
| tcp_nopush on; |
| <% end %> |
| keepalive_timeout <%= scope.lookupvar('nginx::params::keepalive_timeout') %>; |