PageRenderTime 15ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 9ms app.codeStats 0ms

/silk/conf_templates/nginx_root.conf

https://bitbucket.org/btubbs/silk-deployment/
Config | 33 lines | 24 code | 9 blank | 0 comment | 0 complexity | ffbcb9ed364bf9fdd765e1d7ecb439f7 MD5 | raw file
 1user www-data;
 2worker_processes  4;
 3
 4error_log  /var/log/nginx/error.log;
 5pid        /var/run/nginx.pid;
 6
 7events {
 8    worker_connections  1024;
 9    # multi_accept on;
10}
11
12http {
13    include       /etc/nginx/mime.types;
14
15    access_log	/var/log/nginx/access.log;
16
17    sendfile        on;
18    #tcp_nopush     on;
19
20    #keepalive_timeout  0;
21    keepalive_timeout  65;
22    tcp_nodelay        on;
23
24    gzip  on;
25    gzip_disable "MSIE [1-6]\.(?!.*SV1)";
26
27    #includes that come with stock nginx
28    include /etc/nginx/conf.d/*.conf;
29    include /etc/nginx/sites-enabled/*;
30
31    #include config files from all silk sites
32    include %(srv_root)s/*/conf/nginx.conf;
33}