# 杜发根_stage3_module4 **Repository Path**: dufg/stage_3_module_4 ## Basic Information - **Project Name**: 杜发根_stage3_module4 - **Description**: 阶段三模块4作业 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 杜发根_stage3_module4 #### 介绍 阶段三模块4作业 #### 关键配置说明 Nginx配置: ​ 本地统一访问80端口,根据前缀将静态资源和请求分离,请求将会转发到9001端口(网关微服务) ![image-20200512002720667](/Users/dufagen/Library/Application Support/typora-user-images/image-20200512002720667.png) gateway配置: ​ 网关使用动态路由配置,从eureka注册中心获取微服务的地址 ​ ip防刷限制的配置是从9006端口(配置中心)获取(springConfig+Bus) ![image-20200512002956232](/Users/dufagen/Library/Application Support/typora-user-images/image-20200512002956232.png) 其他说明:mysql和rabbitmq配置在了我的服务器上,可以直接使用,nginx则需按我如上图的配置在本地即可