摘要: 一、proxy_pass 后面有 / location /api/ { proxy_pass http://localhost:8080/; } location /api/ { proxy_pass http://localhost:8080/xx/; }比如请求 http://localhost 阅读全文
posted @ 2025-01-09 16:27 .NET_海 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 先看效果 1、WebSocket服务建立 1.1 引入包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </depende 阅读全文
posted @ 2025-01-09 13:42 .NET_海 阅读(43) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示