Skip to content

厚礼蟹!

欢迎光临小魏的运维日常!

一名被运维耽误的广东靓仔
  • Next 解决Nginx下WordPress后台页面混乱
  • Previous nginx 伪静态

分类

  • ansible (4)
  • ceph (4)
  • docker (13)
  • kubernetes (28)
  • linux (6)
  • nginx (5)
  • openstack (7)
  • SSH (1)

近期文章

  • 提高服务器cpu、内存负载脚本
  • 各组件启动命令
  • 批量修改主机密码脚本
  • 系统cpu内存使用率过滤脚本
  • 创建逻辑卷及扩容逻辑卷

粤ICP备2021044944号

nginx WordPress解决上传文件大小限制问题

2019年2月 nginx
我的在/etc/php/7.2/fpm/php.ini

打开后,找到并设置以下选项的值:

upload_max_filesize = 128M

post_max_size = 128M

memory_limit 256M

max_execution_time 300

max_input_time 300



vim /etc/nginx/nginx.conf

client_max_body_size 64m;

You may also like...

  • k8s ingress控制器前端负载均衡配置https证书

    k8s ingress控制器前端负载均衡配置https证书

  • k8s helm的安装

    k8s helm的安装

  • docker 制作docker镜像

    docker 制作docker镜像

厚礼蟹! © 2025. All Rights Reserved.

Powered by WordPress. Theme by Alx.