第一种
直接在主ngin.conf中进行配置:
第二种
单独写到一个 a.conf文件中,然后将a.conf放置到 /etc/nginx/conf.d
路径下。
a.conf:
upstream xxx.com {
hash $remote_addr consistent;
server 172.xx.xx.xx:8069;
}
直接在主ngin.conf中进行配置:
单独写到一个 a.conf文件中,然后将a.conf放置到 /etc/nginx/conf.d
路径下。
a.conf:
upstream xxx.com {
hash $remote_addr consistent;
server 172.xx.xx.xx:8069;
}
方式一:使用yml配置# 网关配置cloud: gateway: routes: - id: payment_routh #payment_route #路由的ID,没有固定规则
spring所有的事务管理策略类都继承自org.springframework.transaction.PlatformTransactionManager接口。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M