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