码迷,mamicode.com
首页 > 其他好文 > 详细

nginx upstream bug

时间:2020-07-23 15:58:54      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:访问报错   配置   nginx   order   code   serve   问题   访问   ash   

nginx配置
upstream order-service-host { ip_hash; server booking-order-service:10008; }

在前端 后端看日志都是正常的 但是访问报错400
需要将
order-service-host 要改成 order.service.host
upstream不能有-和_(问题具有偶发性)

nginx upstream bug

标签:访问报错   配置   nginx   order   code   serve   问题   访问   ash   

原文地址:https://www.cnblogs.com/ZFBG/p/13365707.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!