server_config/README.md 仅保留目录结构
This commit is contained in:
+17
-42
@@ -1,51 +1,26 @@
|
||||
# server_config — 服务器端配置(已脱敏)
|
||||
|
||||
来源:**jp 服务器**(`iam.aeolianchi.me`,Azure Japan East 学生订阅,Ubuntu 24.04)
|
||||
采集时间:2026-08-23
|
||||
|
||||
> 本目录只收录**服务器端**配置;客户端(转发器 / PAC / WG)见仓库根目录的 `lite/` 与 `common/`。
|
||||
|
||||
## 目录结构
|
||||
# server_config
|
||||
|
||||
```
|
||||
server_config/
|
||||
├── nginx/ # jp nginx(HTTPS CONNECT 代理 + 明文 HTTP 转发 + 伪装站)
|
||||
│ ├── nginx.conf # 主配置(proxy_connect 模块 + /__proxy 转发 + 自代理环保护)
|
||||
│ ├── conf.d/ # 附加站点
|
||||
│ │ ├── api.aeolianchi.me.conf # 流量监控状态反代
|
||||
│ │ └── autodiscover.aeolianchi.me.conf # autodiscover 反代(→ bj)
|
||||
│ └── local_ip_rules.conf.example # 本机公网 IP 直连规则(自动生成,示例)
|
||||
├── nginx/
|
||||
│ ├── nginx.conf
|
||||
│ ├── conf.d/
|
||||
│ │ ├── api.aeolianchi.me.conf
|
||||
│ │ └── autodiscover.aeolianchi.me.conf
|
||||
│ └── local_ip_rules.conf.example
|
||||
├── sing-box/
|
||||
│ └── config.json # VLESS + REALITY 入站(8443),密钥已脱敏
|
||||
├── traffic-monitor/ # Azure 门户口径流量监控(/home/agent)
|
||||
│ ├── config.json # SMTP 凭据已脱敏
|
||||
│ ├── traffic_monitor.py # 监控脚本(vnstat + Azure Usage Details API)
|
||||
│ └── traffic-monitor.service # systemd 单元
|
||||
│ └── config.json
|
||||
├── traffic-monitor/
|
||||
│ ├── config.json
|
||||
│ ├── traffic_monitor.py
|
||||
│ └── traffic-monitor.service
|
||||
├── scripts/
|
||||
│ ├── sync-nginx-local-ips.sh # 每 5 分钟自动同步公网 IP 直连规则(cron)
|
||||
│ └── rrpp-stats # vnstat 统计输出(每分钟写入 stats.json)
|
||||
├── pac/ # 旧版 PAC(现客户端改为内存生成,仅存档)
|
||||
│ ├── sync-nginx-local-ips.sh
|
||||
│ └── rrpp-stats
|
||||
├── pac/
|
||||
│ ├── proxy.pac
|
||||
│ └── proxy_wg.pac
|
||||
└── cron/
|
||||
├── crontab.txt # RRRosmontis 用户 crontab
|
||||
└── sync-nginx-local-ips # /etc/cron.d 条目
|
||||
├── crontab.txt
|
||||
└── sync-nginx-local-ips
|
||||
```
|
||||
|
||||
## 脱敏说明
|
||||
|
||||
| 原文 | 替换为 | 说明 |
|
||||
|---|---|---|
|
||||
| 公网 IP(`20.48.32.251` / `20.89.52.88`) | `<PUBLIC_IP>` | 服务器公网地址(DNS 可解析,但按惯例遮蔽) |
|
||||
| VLESS UUID | `<VLESS_UUID>` | sing-box 入站用户 UUID |
|
||||
| REALITY 私钥 | `<REALITY_PRIVATE_KEY>` | TLS Reality 私钥(机密) |
|
||||
| REALITY short_id | `<REALITY_SHORT_ID>` | TLS Reality short id |
|
||||
| SMTP 账号 / 密码 / 收发地址 | `<SMTP_USER>` `<SMTP_PASSWORD>` `<SMTP_FROM>` `<SMTP_TO>` | 告警邮件凭据 |
|
||||
|
||||
未收录:TLS 私钥/证书(仅保留 nginx 中的路径引用)、`/etc/nginx/.htpasswd`(认证哈希,用户名为 `user`)、Azure 订阅 ID 等。
|
||||
|
||||
## 安全提示
|
||||
|
||||
1. **`common/jp_client.conf`(WireGuard 客户端配置)此前已入库且含真实密钥**(客户端私钥、对端公钥、Endpoint)。若本仓库非私有,建议**轮换 WG 密钥与 sing-box REALITY 密钥**。
|
||||
2. `local_ip_rules.conf` 由 `sync-nginx-local-ips.sh` 每 5 分钟自动重写(cron),仓库内为脱敏示例;公网 IP 变更后无需手动改 nginx。
|
||||
3. 明文 HTTP 代理路径要求 Basic 认证(`user`);无认证返回 401,不会成为开放代理。
|
||||
|
||||
Reference in New Issue
Block a user