摘要: 1、upstream upstream 是 Nginx 中用于定义后端服务器组的指令块,属于HTTP 核心模块的一部分。它主要用于反向代理和负载均衡,允许将客户端请求分发到多个后端服务器(如 Web 应用服务器、API 服务、数据库等) 2、upstream 模块的后端服务器参数 (1)backup 阅读全文
posted @ 2025-10-14 23:43 KLAPT 阅读(6) 评论(0) 推荐(0)
摘要: tar 命令 1、创建归档文件:将文件 file1、file2 和 directory 打包到一个名为 archive.tar 的归档文件中。 tar -cvf archive.tar file1 file2 directory-c: 创建新的归档文件-v: 显示详细输出,列出被添加到归档中的文件- 阅读全文
posted @ 2025-10-14 23:31 KLAPT 阅读(6) 评论(0) 推荐(0)
摘要: 1. 引入依赖 Spring Boot项目中已经包含了Spring Security依赖、Apache Shiro的依赖。 <!-- Spring Security --><dependency> <groupId>org.springframework.boot</groupId> <artifa 阅读全文
posted @ 2025-10-14 20:59 KLAPT 阅读(6) 评论(0) 推荐(0)