-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathnginx.conf
More file actions
executable file
·30 lines (25 loc) · 831 Bytes
/
nginx.conf
File metadata and controls
executable file
·30 lines (25 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
server {
listen 8443;
server_name tgbot-zt001bot.zh.re;
root /srv/phproot/tgbot-zt001bot/;
index index.php index.html index.html;
ssl on;
ssl_certificate /srv/ssl/vl.crt;
ssl_certificate_key /srv/ssl/vl.nopass.key;
location / {
#include fastcgi.conf;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffers 8 256k;
fastcgi_buffer_size 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
client_max_body_size 20M;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}