| 1 | 0000000: 6461 656d 6f6e 206f 6666 3b0a 7573 6572 daemon off;.user
|
|---|
| 2 | 0000010: 2020 7777 773b 0a77 6f72 6b65 725f 7072 www;.worker_pr
|
|---|
| 3 | 0000020: 6f63 6573 7365 7320 2031 3b0a 7069 6420 ocesses 1;.pid
|
|---|
| 4 | 0000030: 2f76 6172 2f72 756e 2f6e 6769 6e78 2e70 /var/run/nginx.p
|
|---|
| 5 | 0000040: 6964 3b0a 0a23 6572 726f 725f 6c6f 6720 id;..#error_log
|
|---|
| 6 | 0000050: 206c 6f67 732f 6572 726f 722e 6c6f 673b logs/error.log;
|
|---|
| 7 | 0000060: 0a23 6572 726f 725f 6c6f 6720 206c 6f67 .#error_log log
|
|---|
| 8 | 0000070: 732f 6572 726f 722e 6c6f 6720 206e 6f74 s/error.log not
|
|---|
| 9 | 0000080: 6963 653b 0a23 6572 726f 725f 6c6f 6720 ice;.#error_log
|
|---|
| 10 | 0000090: 206c 6f67 732f 6572 726f 722e 6c6f 6720 logs/error.log
|
|---|
| 11 | 00000a0: 2069 6e66 6f3b 0a0a 2370 6964 2020 2020 info;..#pid
|
|---|
| 12 | 00000b0: 2020 2020 6c6f 6773 2f6e 6769 6e78 2e70 logs/nginx.p
|
|---|
| 13 | 00000c0: 6964 3b0a 0a0a 6576 656e 7473 207b 0a20 id;...events {.
|
|---|
| 14 | 00000d0: 2020 2077 6f72 6b65 725f 636f 6e6e 6563 worker_connec
|
|---|
| 15 | 00000e0: 7469 6f6e 7320 2031 3032 343b 0a7d 0a0a tions 1024;.}..
|
|---|
| 16 | 00000f0: 0a68 7474 7020 7b0a 2020 2020 696e 636c .http {. incl
|
|---|
| 17 | 0000100: 7564 6520 2020 2020 2020 2020 2020 206d ude m
|
|---|
| 18 | 0000110: 696d 652e 7479 7065 733b 0a20 2020 2064 ime.types;. d
|
|---|
| 19 | 0000120: 6566 6175 6c74 5f74 7970 6520 2020 2020 efault_type
|
|---|
| 20 | 0000130: 2020 6170 706c 6963 6174 696f 6e2f 6f63 application/oc
|
|---|
| 21 | 0000140: 7465 742d 7374 7265 616d 3b0a 2020 2020 tet-stream;.
|
|---|
| 22 | 0000150: 6368 6172 7365 7420 2020 2020 2020 2020 charset
|
|---|
| 23 | 0000160: 2020 2075 7466 2d38 3b0a 2020 2020 0a20 utf-8;. .
|
|---|
| 24 | 0000170: 2020 2023 6c6f 675f 666f 726d 6174 2020 #log_format
|
|---|
| 25 | 0000180: 6d61 696e 2020 2724 7265 6d6f 7465 5f61 main '$remote_a
|
|---|
| 26 | 0000190: 6464 7220 2d20 2472 656d 6f74 655f 7573 ddr - $remote_us
|
|---|
| 27 | 00001a0: 6572 205b 2474 696d 655f 6c6f 6361 6c5d er [$time_local]
|
|---|
| 28 | 00001b0: 2022 2472 6571 7565 7374 2220 270a 2020 "$request" '.
|
|---|
| 29 | 00001c0: 2020 2320 2020 2020 2020 2020 2020 2020 #
|
|---|
| 30 | 00001d0: 2020 2020 2027 2473 7461 7475 7320 2462 '$status $b
|
|---|
| 31 | 00001e0: 6f64 795f 6279 7465 735f 7365 6e74 2022 ody_bytes_sent "
|
|---|
| 32 | 00001f0: 2468 7474 705f 7265 6665 7265 7222 2027 $http_referer" '
|
|---|
| 33 | 0000200: 0a20 2020 2023 2020 2020 2020 2020 2020 . #
|
|---|
| 34 | 0000210: 2020 2020 2020 2020 2722 2468 7474 705f '"$http_
|
|---|
| 35 | 0000220: 7573 6572 5f61 6765 6e74 2220 2224 6874 user_agent" "$ht
|
|---|
| 36 | 0000230: 7470 5f78 5f66 6f72 7761 7264 6564 5f66 tp_x_forwarded_f
|
|---|
| 37 | 0000240: 6f72 2227 3b0a 0a20 2020 2023 6163 6365 or"';.. #acce
|
|---|
| 38 | 0000250: 7373 5f6c 6f67 2020 6c6f 6773 2f61 6363 ss_log logs/acc
|
|---|
| 39 | 0000260: 6573 732e 6c6f 6720 206d 6169 6e3b 0a20 ess.log main;.
|
|---|
| 40 | 0000270: 2020 200a 2020 2020 7365 6e64 6669 6c65 . sendfile
|
|---|
| 41 | 0000280: 2020 2020 2020 2020 6f6e 3b0a 2020 2020 on;.
|
|---|
| 42 | 0000290: 2374 6370 5f6e 6f70 7573 6820 2020 2020 #tcp_nopush
|
|---|
| 43 | 00002a0: 6f6e 3b0a 0a20 2020 2023 6b65 6570 616c on;.. #keepal
|
|---|
| 44 | 00002b0: 6976 655f 7469 6d65 6f75 7420 2030 3b0a ive_timeout 0;.
|
|---|
| 45 | 00002c0: 2020 2020 6b65 6570 616c 6976 655f 7469 keepalive_ti
|
|---|
| 46 | 00002d0: 6d65 6f75 7420 2036 353b 0a0a 2020 2020 meout 65;..
|
|---|
| 47 | 00002e0: 677a 6970 2020 6f6e 3b0a 0a20 2020 2061 gzip on;.. a
|
|---|
| 48 | 00002f0: 6363 6573 735f 6c6f 6720 2020 202f 7661 ccess_log /va
|
|---|
| 49 | 0000300: 722f 6c6f 672f 6e67 696e 782f 6163 6365 r/log/nginx/acce
|
|---|
| 50 | 0000310: 7373 2e6c 6f67 3b0a 2020 2020 6572 726f ss.log;. erro
|
|---|
| 51 | 0000320: 725f 6c6f 6720 2020 2020 2f76 6172 2f6c r_log /var/l
|
|---|
| 52 | 0000330: 6f67 2f6e 6769 6e78 2f65 7272 6f72 2e6c og/nginx/error.l
|
|---|
| 53 | 0000340: 6f67 3b0a 0a20 2020 2069 6e63 6c75 6465 og;.. include
|
|---|
| 54 | 0000350: 202f 6574 632f 6e67 696e 782f 7369 7465 /etc/nginx/site
|
|---|
| 55 | 0000360: 732d 656e 6162 6c65 642f 2a3b 0a0a 7d0a s-enabled/*;..}.
|
|---|