5 error_log /var/log/nginx/error.log warn;
6 pid /var/run/nginx.pid;
10 worker_connections 1024;
15 include /etc/nginx/mime.types;
16 default_type application/octet-stream;
18 log_format main '$remote_addr - $remote_user [$time_local] "$request" '
19 '$status $body_bytes_sent "$http_referer" '
20 '"$http_user_agent" "$http_x_forwarded_for"';
22 access_log /var/log/nginx/access.log main;
32 gzip_types text/html text/plain application/json application/xml;
34 include /etc/nginx/conf.d/*.conf;