上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: Maven 项目创建父工程 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="htt 阅读全文
posted @ 2020-11-27 12:17 qukaige 阅读(93) 评论(0) 推荐(0) 编辑
摘要: location / { deny xx.x6.x3.x2; # 限制某个ip allow all; # 允许所有ip访问 } 阅读全文
posted @ 2020-07-13 08:57 qukaige 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 在nginx配置中增加 location / { # include uwsgi_params; # uwsgi_pass unix:/home/web/zsh/app_uwsgi.sock; proxy_set_header Host $http_host; proxy_set_header X- 阅读全文
posted @ 2020-06-19 09:42 qukaige 阅读(706) 评论(1) 推荐(0) 编辑
摘要: yum install epel-release yum install nginx 阅读全文
posted @ 2020-03-27 11:10 qukaige 阅读(60) 评论(0) 推荐(0) 编辑
摘要: -rw-r--r-- 文件类型(-文件 d目录 l软链接) rw- r-- r-- u所有者 g所属组 o其他人 r读w写x执行 组 kb 最后一次修改时间 -rw-r--r--. 1 root root 18 Dec 28 2013 .bash_logout -rw-r--r--. 1 root 阅读全文
posted @ 2020-03-27 10:52 qukaige 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 追踪方法: SpringCloud-sleuth + zipkin zipkin docker 安装 docker run -d -p 9411:9411 openzipkin/zipkin 官网 https://zipkin.io 启动后就是这样子 10.10.10.103:9411 接入项目 2 阅读全文
posted @ 2019-12-19 15:09 qukaige 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 第一步: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-client</artifactId> </dependency> 第二步: @EnableCircuitBr 阅读全文
posted @ 2019-12-19 11:56 qukaige 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1.注解跨域: @CrossOrigin(allowCredentials = "*") 2. 配置config package com.example.apigeteway.config; import org.springframework.context.annotation.Bean; im 阅读全文
posted @ 2019-12-18 16:38 qukaige 阅读(479) 评论(0) 推荐(0) 编辑
摘要: zuul: sensitive-headers: 允许携带cookie到其他服务 阅读全文
posted @ 2019-12-18 16:24 qukaige 阅读(766) 评论(0) 推荐(0) 编辑
摘要: package com.example.apigeteway.filter; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import com.netflix.zuul.exc 阅读全文
posted @ 2019-12-17 14:21 qukaige 阅读(786) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页