Ubuntu Nginx 请求时间设置

sudo vi /etc/php5/fpm/php.ini
max_execution_time = 120
sudo vi /etc/nginx/conf.d/default.conf
      location ~ .php$ {
...
          fastcgi_index  index.php;
          fastcgi_send_timeout 120;
          fastcgi_read_timeout 120;
...
      }
sudo systemctl restart php5-fpm
sudo systemctl restart nginx