Sha256: f1648221151d2eafcabf80132808dc1ca6b485dd8c8f6ddc91faba21d85a1d17

Contents?: true

Size: 1.05 KB

Versions: 37

Compression:

Stored size: 1.05 KB

Contents

<%
  @path = "/etc/nginx/nginx.conf"
  @post = "mkdir -p #{rubber_env.nginx_log_dir}"
%>

user www-data;
worker_processes 10;

pid /var/run/nginx.pid;

events
{
  worker_connections 1024;
}

http
{
  include           /etc/nginx/mime.types;
  default_type      application/octet-stream;

  sendfile          on;
  tcp_nopush        on;
  tcp_nodelay       off;

  gzip              on;
  gzip_http_version 1.0;
  gzip_comp_level   2;
  gzip_proxied      any;
  gzip_types        text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;

  # configure log format like to Apache's "combined" log format
  log_format        main
                      '$remote_addr - $remote_user [$time_local] '
                      '"$request" $status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_cookie"';

  # default log files
  error_log         <%= rubber_env.nginx_log_dir %>/error.log notice;
  access_log        <%= rubber_env.nginx_log_dir %>/access.log main;

  include /etc/nginx/rubber/*.conf;
}

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rubber-2.15.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.14.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.13.1 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.13.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.12.2 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.12.1 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.12.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.11.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.10.2 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.10.1 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.10.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.9.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.8.1 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.8.0 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.5 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.4 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.3 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.2 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.1 templates/nginx/config/rubber/role/nginx/nginx.conf
rubber-2.7.0 templates/nginx/config/rubber/role/nginx/nginx.conf