![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常记录
yfp_ziyoudekuaile
这个作者很懒,什么都没留下…
展开
-
gateway配置
第一种方法在网关服务里增加config,详细代码如下。import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.CorsConfiguration;import org.springframework.web.cors.reactive.CorsWebFilter;原创 2021-06-30 15:51:20 · 78 阅读 · 0 评论 -
Nginx配置
user root;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events {worker_connections 1024;}http {proxy_buffer_size 128k;proxy_buffers 32 32k;prox原创 2021-06-30 15:47:30 · 92 阅读 · 0 评论