From 2b6fd6813e912fee3615f3af9bfce8ecab4c97fb Mon Sep 17 00:00:00 2001 From: doudou201703 <84085676+doudou201703@users.noreply.github.com> Date: Sun, 2 Aug 2026 14:48:38 +0800 Subject: [PATCH] =?UTF-8?q?six=5Fdocker=5F002(=E4=BF=AE=E6=AD=A3frps,gitea?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 云服务/hudieCompose.yaml | 8 ++------ 云服务/sixfrps.toml | 8 -------- 本地服务/yanhuafrpc.toml | 17 ----------------- 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 本地服务/yanhuafrpc.toml diff --git a/云服务/hudieCompose.yaml b/云服务/hudieCompose.yaml index 53ca1eb..f47437a 100644 --- a/云服务/hudieCompose.yaml +++ b/云服务/hudieCompose.yaml @@ -32,16 +32,12 @@ services: image: snowdreamtech/frps container_name: xiao_frps restart: unless-stopped - # ports: - # - "7000:7000/tcp" # frpc 控制 - # - "7000:7000/udp" # 如果要 KCP - # - "7002:7002/udp" # QUIC - # - "8080:8080/tcp" # vhostHTTPPort,给 Caddy 反代用 - # - "7500:7500/tcp" # dashboard,也可让 Caddy 反代后不 export volumes: - /home/ubuntu/sixfrps.toml:/etc/frp/frps.toml environment: - FRP_CONFIG_FILE=/etc/frp/frps.toml + ports: + - "7000:7000" networks: - xiao_network diff --git a/云服务/sixfrps.toml b/云服务/sixfrps.toml index f08b6f3..b276d19 100644 --- a/云服务/sixfrps.toml +++ b/云服务/sixfrps.toml @@ -1,11 +1,3 @@ -#bindPort = 7000 -# -#vhostHTTPSPort = 443 -#vhostHTTPPort = 80 -# -#auth.method = "token" -#auth.token = "sixsixgousite" -# # ===== 监听 ===== bindAddr = "0.0.0.0" bindPort = 7000 # frpc 连这台服的端口 diff --git a/本地服务/yanhuafrpc.toml b/本地服务/yanhuafrpc.toml deleted file mode 100644 index f90b9c1..0000000 --- a/本地服务/yanhuafrpc.toml +++ /dev/null @@ -1,17 +0,0 @@ -serverAddr = "122.152.209.38" -serverPort = 7000 -# 认证方式和token,必须与frps配置一致 -auth.method = "token" -auth.token = "sixsixgousite" - -[[proxies]] -name = "yanhua" -type = "https" -customDomains = ["django.jpyanhua.site"] -[proxies.plugin] -type = "https2http" -localAddr = "host.docker.internal:8001" -crtPath = "/etc/frp/yanhuassl/django.jpyanhua.site_bundle.crt" -keyPath = "/etc/frp/yanhuassl/django.jpyanhua.site.key" -hostHeaderRewrite = "127.0.0.1" -requestHeaders.set.x-from-where = "frp" \ No newline at end of file