user {{{sudoerUser}}}; 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 track escape=json '{"time":"$time_iso8601","alias":"$sent_http_xalias","uuid":"$sent_http_xuuid",' '"lg":"$sent_http_xlang","consentcookie":"$sent_http_consentcookie",' '"request_filename":"$request_filename","request":"$request",' '"args":"$args","remoteaddr":"$remote_addr","httpxforwardedfor":"$http_x_forwarded_for",' '"httpreferer":"$http_referer","httpuseragent":"$http_user_agent"}'; #access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 4 32k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/x-font-ttf application/javascript font/eot font/opentype image/svg+xml image/x-icon text/plain; ## # Virtual Host Configs ## {{#nginx.include}} include {{{.}}}; {{/nginx.include}} }