<% if node[:nginx][:access_log] -%>
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
<% if node[:nginx][:access_log] -%>
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
ssl_dhparam /etc/ssl/certs/dhparam.pem;
resolver <%= @resolvers.join(" ") %>;
resolver_timeout 5s;
<% if node['nginx']['cache']['fastcgi']['enable'] -%>
ssl_dhparam /etc/ssl/certs/dhparam.pem;
resolver <%= @resolvers.join(" ") %>;
resolver_timeout 5s;
<% if node['nginx']['cache']['fastcgi']['enable'] -%>