summaryrefslogtreecommitdiff
path: root/templates/nginx.conf.puppetmaster.erb
blob: abf676ff5fba6e1e694dbc43c8793157088e64c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
user www-data;
worker_processes  <%= worker_processes %>;

error_log  /var/log/nginx/error.log;
pid        /var/run/nginx.pid;

events {
    worker_connections  <%= worker_connections %>;
}

http {
    # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524785
    #     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547722
    server_names_hash_bucket_size 100;

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

    #access_log  /var/log/nginx/access.log;
    access_log  /dev/null;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    tcp_nodelay        on;

    gzip  on;

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
}