github.com/samsalisbury/distribution@v2.2.1-0.20151123021722-54f974340220+incompatible/contrib/compose/nginx/nginx.conf (about)

     1  user  nginx;
     2  worker_processes  1;
     3  
     4  error_log /var/log/nginx/error.log warn;
     5  pid        /var/run/nginx.pid;
     6  
     7  events {
     8      worker_connections  1024;
     9  }
    10  
    11  http {
    12      include       /etc/nginx/mime.types;
    13      default_type  application/octet-stream;
    14  
    15      log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    16                        '$status $body_bytes_sent "$http_referer" '
    17                        '"$http_user_agent" "$http_x_forwarded_for"';
    18  
    19      access_log  /var/log/nginx/access.log main;
    20  
    21      sendfile        on;
    22  
    23      keepalive_timeout  65;
    24  
    25      include /etc/nginx/conf.d/*.conf;
    26  }
    27