惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
Y
Y Combinator Blog
B
Blog RSS Feed
H
Help Net Security
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
L
LangChain Blog
IT之家
IT之家
F
Fortinet All Blogs
V
V2EX
C
Check Point Blog
The Cloudflare Blog
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans

博客园 - cnkker.com

Visual Studio 2026 激活码 / VS2026密钥(VS2026激活码) 沙箱环境安装dotnet Microsoft Office 2024 全家桶 docker-compose 部署 Redis 的一些警告 UFW防火墙规则对Docker映射端口无效 NET8在CentOS7下无法执行的问题 Nginx配置文件中,如何配置启用SignalR Error: Failed to download metadata for repo ‘appstream’ – CentOS 8 Mikrotik ROS默认推荐防火墙规则firewall脚本 dotnet堆栈溢出通用排查方法 CMD下查所有3389连接的IP地址 Nginx的proxy_pass url 反向代理的配置 一些名词 NET CORE LINUX 部署 报 A connection was successfully established with the server, but then an error occurred during the pre-login handshake.解决方法 须先停止生成方可关闭解决方案(The build must be stopped before the solution can be closed) 安装最新版本NextCloud Docker、Nginx、整合LetsEncrypt SSL证书 如何将 Windows 10 Enterprise LTSC 2021 评估版升级到完整版 MS SQL 去除字段中的大小写英文、数字、特定符号 MariaDB 配置示例文件 整理一些激活密钥
Nginx错误 open() "/usr/local/nginx/proxy_temp/x/xx/x...
cnkker.com · 2024-02-06 · via 博客园 - cnkker.com

问题:设置client_max_body不起作用(not wroking)

发现: nginx error.log中有 open() "/usr/local/nginx/proxy_temp/x/xx/xxxxxxxx" failed (13: Permission denied) while reading upstream

解决办法:

首先查看 ps aux | grep "nginx: worker process"当前nginx的用户是谁:如 nginx

然后查看 ll //usr/local/nginx/proxy_temp文件夹下文件&&文件夹的用户,大概率会发现里面文件&文件夹权限为root等启动nginx的用户无权限的文件&文件夹

最后更改文件或文件夹所属用户&组 chown -R nginx:nginx /usr/local/nginx/

重启nginx即可