450
|
1
|
455
|
2 #user nobody;
|
450
|
3 worker_processes 3;
|
|
4
|
|
5 #error_log logs/error.log;
|
|
6 #pid logs/nginx.pid;
|
|
7
|
|
8
|
|
9 events {
|
|
10 connections 1024;
|
|
11 }
|
|
12
|
|
13
|
|
14 http {
|
|
15 include conf/mime.types;
|
|
16 default_type application/octet-stream;
|
|
17
|
|
18 sendfile on;
|
|
19
|
|
20 #gzip on;
|
|
21
|
|
22 server {
|
|
23 listen 80;
|
|
24
|
|
25 charset on;
|
|
26 source_charset koi8-r;
|
|
27
|
|
28 #access_log logs/access.log;
|
|
29
|
|
30 location / {
|
|
31 root html;
|
|
32 index index.html index.htm;
|
|
33 }
|
|
34
|
481
|
35 # deny access to .htaccess files
|
|
36 #
|
|
37 #location ~ \.ht {
|
|
38 # deny all;
|
|
39 #}
|
450
|
40 }
|
|
41 }
|