Commit b6de9731 authored by Kunkka王辉's avatar Kunkka王辉 😲

安装脚本优化

parent af488200
......@@ -3,6 +3,18 @@
if [ ! -d /etc/nginx/php ]; then
mkdir /etc/nginx/php
fi
cat <<EOF >/etc/nginx/conf.d/timeout.conf
client_header_timeout 120s;
client_body_timeout 120s;
send_timeout 120s;
proxy_connect_timeout 120s;
proxy_send_timeout 120s;
proxy_read_timeout 120s;
fastcgi_read_timeout 120s;
EOF
cat <<EOF >/etc/nginx/php/$PHP74_HOST.conf
location ~ \.php$ {
fastcgi_pass $PHP74_HOST:9000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment