Sha256: 60a7a1132bc11c1d9c843e14b1a7a83488311fff3e50d2162dd69b3c1c81e2c5
Contents?: true
Size: 1.12 KB
Versions: 10
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; types_hash_max_size 2048; gzip on; gzip_http_version 1.0; gzip_comp_level 2; gzip_proxied any; gzip_min_length 1000; gzip_types application/json 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
10 entries across 10 versions & 1 rubygems