标签:post ams dex roo spl include script pass file
sed -i "s/upload_max_filesize = 20M/upload_max_filesize = 300M/g" /etc/php.ini
sed -i "s/post_max_size = 8M/post_max_size = 330M/g" /etc/php.ini
sed -i "s/max_execution_time = 30/max_execution_time = 300/g" /etc/php.ini
sed -i "s/max_input_time = 60/max_input_time = 300/g" /etc/php.ini
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
// 下面三项
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
注意 fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; 三行必须在 include fastcgi_params 后面,否则报错 nginx: [emerg] unknown directive "fastcgi_rend_timeout" in
标签:post ams dex roo spl include script pass file
原文地址:https://www.cnblogs.com/gromm/p/12404243.html