1 |
|
---|
2 | user nobody;
|
---|
3 | worker_processes 20;
|
---|
4 |
|
---|
5 | #error_log logs/error.log;
|
---|
6 | #error_log logs/error.log notice;
|
---|
7 | #error_log logs/error.log info;
|
---|
8 |
|
---|
9 | #pid logs/nginx.pid;
|
---|
10 |
|
---|
11 |
|
---|
12 | events {
|
---|
13 | worker_connections 1024;
|
---|
14 | use kqueue;
|
---|
15 | }
|
---|
16 |
|
---|
17 |
|
---|
18 | http {
|
---|
19 | include mime.types;
|
---|
20 | default_type application/octet-stream;
|
---|
21 |
|
---|
22 | #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
---|
23 | # '$status $body_bytes_sent "$http_referer" '
|
---|
24 | # '"$http_user_agent" "$http_x_forwarded_for"';
|
---|
25 |
|
---|
26 | #access_log logs/access.log main;
|
---|
27 |
|
---|
28 | sendfile on;
|
---|
29 | #tcp_nopush on;
|
---|
30 |
|
---|
31 | keepalive_timeout 65;
|
---|
32 |
|
---|
33 | #gzip on;
|
---|
34 |
|
---|
35 | #server {
|
---|
36 | # listen 80;
|
---|
37 | # server_name localhost;
|
---|
38 | # #access_log logs/host.access.log main;
|
---|
39 | # location / {
|
---|
40 | # root /usr/local/www/nginx;
|
---|
41 | # index index.html index.htm;
|
---|
42 | # }
|
---|
43 | # error_page 500 502 503 504 /50x.html;
|
---|
44 | # location = /50x.html {
|
---|
45 | # root /usr/local/www/nginx-dist;
|
---|
46 | # }
|
---|
47 |
|
---|
48 | #}
|
---|
49 | include /usr/local/etc/nginx/conf.d/*.conf;
|
---|
50 | }
|
---|