1 Star 0 Fork 145

hygge / springcloud-chapter06-1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 656 Bytes
一键复制 编辑 原始数据 按行查看 历史
weixingwork@qq.com 提交于 2023-04-08 12:36 . 第六章Zuul P83

springcloud-chapter06-1

介绍

第六章服务网关Zuul P83

软件架构

软件架构说明

安装教程

Zuul pom.xml

		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
		</dependency>

application.yml

server:
    port: 8835
spring :
  application :
    name : gateway-zuul
eureka :
  client :
    service-url:
      defaultZone: http://localhost:7000/eureka/
zuul:
  routes:
    eureka-consumer:
       path: /eureka-consumer/**

使用说明

Java
1
https://gitee.com/lmtgit/springcloud-chapter06-1.git
git@gitee.com:lmtgit/springcloud-chapter06-1.git
lmtgit
springcloud-chapter06-1
springcloud-chapter06-1
master

搜索帮助