1 | server {
|
---|
2 | listen 80;
|
---|
3 | server_name localhost;
|
---|
4 | #root /home/yanxu/khufu/khufusite;
|
---|
5 |
|
---|
6 |
|
---|
7 | access_log /var/log/sinard.access.log;
|
---|
8 |
|
---|
9 | location / {
|
---|
10 | fastcgi_pass unix:/tmp/sinard.sock;
|
---|
11 | #fastcgi_pass 127.0.0.1:3033;
|
---|
12 | fastcgi_param PATH_INFO $fastcgi_script_name;
|
---|
13 | fastcgi_intercept_errors off;
|
---|
14 | fastcgi_connect_timeout 120;
|
---|
15 | fastcgi_send_timeout 180;
|
---|
16 | fastcgi_read_timeout 180;
|
---|
17 | include fastcgi_params;
|
---|
18 | }
|
---|
19 |
|
---|
20 | error_page 404 /404.shtml;
|
---|
21 |
|
---|
22 | error_page 500 502 503 504 /50x.html;
|
---|
23 | location = /50x.html {
|
---|
24 | root html;
|
---|
25 | }
|
---|
26 |
|
---|
27 |
|
---|
28 | }
|
---|
29 |
|
---|