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