晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

2020年8月18日

摘要: 场景: 服务器上81和82端口部署了两个网站,想通过listen 80端口,实现 ip/参数,来转发到不同的端口 一开始使用了location /参数 server { #省略其他配置 listen 80; location /one{ proxy_pass http://location:81 } 阅读全文

posted @ 2020-08-18 15:31 shenyixin 阅读(1359) 评论(0) 推荐(0)

摘要: 不继承WebMvcConfigurationSupport,改为实现WebMvcConfigurer接口 @Configuration public class WebInterceptor implements WebMvcConfigurer { @Override public void ad 阅读全文

posted @ 2020-08-18 09:47 shenyixin 阅读(666) 评论(0) 推荐(0)