user  {{linuxuser}};
worker_processes  auto;
error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;

events {
    worker_connections  1024;
}
http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;
    log_format  main  '[$time_local]##"$http_x_forwarded_for"##"$request" '
                      '"$http_user_agent"';

    log_format  mainold  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';
    log_format trace  '$remote_addr - $remote_user [$time_local] '
                      '$host "$request" $status $body_bytes_sent '
                      '"$http_referer" "$http_user_agent" '
                      '"$http_x_forwarded_for" $request_id';
    access_log  /var/log/nginx/access.log  main;
    sendfile        on;
    keepalive_timeout  65;
    gzip  on;
   ##
   # Virtual Host Configs
   ##
        include /etc/nginx/conf.d/*.conf;
        #include /etc/nginx/sites-enabled/*;
}
