]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nginx/templates/default/nginx.conf.erb
Bring OSQA backups under chef control
[chef.git] / cookbooks / nginx / templates / default / nginx.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 user  nginx;
4 worker_processes  1;
5
6 error_log  /var/log/nginx/error.log warn;
7 pid        /var/run/nginx.pid;
8
9
10 events {
11     worker_connections  1024;
12 }
13
14
15 http {
16     include       /etc/nginx/mime.types;
17     default_type  application/octet-stream;
18
19     log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
20                       '$status $body_bytes_sent "$http_referer" '
21                       '"$http_user_agent" "$http_x_forwarded_for"';
22
23     access_log  /var/log/nginx/access.log  main;
24
25     sendfile        on;
26     #tcp_nopush     on;
27
28     keepalive_timeout  65;
29
30     #gzip  on;
31
32     include /etc/nginx/conf.d/*.conf;
33 }