服务内部错误: stderr: 2023/07/20 19:25:49 [emerg] 31#31: duplicate location “/” in /www/sites/rui123.com/proxy/rui123_com.conf:1 nginx: [emerg] duplicate location “/” in /www/sites/rui123.com/proxy/rui123_com.conf:1 nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test failed
首先感谢充电
duplicate location “/” 是指有重复的 location 为 / 的配置
检查一下反向代理配置有没有 location 为 / 的
你大概率是一键部署的应用,这种情况已经在配置文件中有 location 为 / 的配置了