summaryrefslogtreecommitdiff
path: root/roles/install_nginx/files/nginx.conf
blob: c27e4c15d54f541ed29ca2cc76e3a67c43f2a889 (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
worker_processes  1;

events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    tcp_nopush  on;
    tcp_nodelay on;
    keepalive_timeout  65;

    access_log off;   
    error_log /var/log/nginx/error.log;

    #gzip  on;
    gzip off;
    gzip_disable "msie6";

    charset UTF-8;

    # Virtual Host Config
    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
}