问题 nginx启动或者重启提示信息如下: Nginx: [emerg] unknown "connection_upgrade" variable nginx: configuration file /www/server/nginx/c
nginx启动或者重启提示信息如下:
Nginx: [emerg] unknown "connection_upgrade" variable
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed
在nginx配置文件http标签下添加如下几行:
map $Http_upgrade $connection_upgrade { default upgrade; '' close; }
Ps:主配置文件yum安装默认路径为/etc/nginx/conf/nginx.conf
来源地址:https://blog.csdn.net/q906270629/article/details/130091625
--结束END--
本文标题: 亲测:nginx: [emerg] unknown “connection_upgrade” variable
本文链接: https://lsjlt.com/news/386031.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0