Ticket #2443: nginx_mini.conf

File nginx_mini.conf, 481 bytes (added by duzhe@…, 3 years ago)

simple config

Line 
1user nginx nginx;
2worker_processes 4;
3
4error_log /tmp/error_log info;
5
6events {
7 worker_connections 1024;
8 use epoll;
9}
10
11http {
12 log_format main
13 '$remote_addr - $remote_user [$time_local] '
14 '"$request" $status $bytes_sent '
15 '"$http_referer" "$http_user_agent" '
16 '"$gzip_ratio"';
17 server {
18 listen 127.0.0.1 reuseport;
19 server_name localhost;
20
21 access_log /tmp/localhost.access_log main;
22 error_log /tmp/localhost.error_log info;
23
24 root /var/www/localhost/htdocs;
25 }
26}