Sha256: 7772e2b4cfce1a9c7dad898d781f347fb21ba5608d535b81b5b2b3dd1ccd9ca3
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 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; server_tokens off; charset utf-8; 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 application/json; # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubber-3.2.2 | templates/nginx/config/rubber/role/nginx/nginx.conf |
rubber-3.2.1 | templates/nginx/config/rubber/role/nginx/nginx.conf |