1、进入Nginx安装路径下的conf文件夹中(我的路径是:/usr/local/nginx/conf)

2、打开nginx.conf,在http大括号中第一行加语句:client_max_body_size 所需大小m;

3、进入Nginx安装路径下的sbin文件夹中(我的路径是:usr/local/nginx/sbin)

4、执行重启命令:./nginx -s reload

相关文章:

  • 2021-06-04
  • 2021-07-28
  • 2022-02-19
  • 2022-01-03
  • 2022-02-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-16
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
相关资源
相似解决方案