Ticket #735: nginx.conf-fragment

File nginx.conf-fragment, 811 bytes (added by Илья Шипицин, 11 years ago)
Line 
1 upstream chunk.skbkontur.ru {
2 server 127.0.0.1:9000;
3 keepalive 10;
4 }
5
6 server {
7 listen 46.17.201.198:80;
8 listen 46.17.201.198:443 ssl spdy;
9
10 ssl_certificate xxx.pem;
11 ssl_certificate_key xxx.pem;
12
13 gzip off;
14
15 server_name chunk.skbkontur.ru;
16 root /xxx;
17
18 location / {
19 fastcgi_read_timeout 1200;
20
21 fastcgi_keep_conn on;
22 #fastcgi_buffering off;
23 fastcgi_pass chunk.skbkontur.ru;
24 fastcgi_index chunk.php;
25 fastcgi_param SCRIPT_FILENAME /path/to/chunk.php;
26 include fastcgi_params;
27
28 }
29
30 access_log /xxx.access.log combined;
31 error_log /xxx.error.log alert;
32
33 }
34