Initial commit: 添加项目代码
This commit is contained in:
29
demo/config/examples/frpc.ini.example
Normal file
29
demo/config/examples/frpc.ini.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# FRP 客户端配置文件示例
|
||||
# 使用 OpenFrp 或其他免费 FRP 服务时使用此配置
|
||||
|
||||
[common]
|
||||
# 服务器地址(从 FRP 服务提供商控制台获取)
|
||||
server_addr = frp.example.com
|
||||
# 服务器端口(通常是 7000)
|
||||
server_port = 7000
|
||||
# 认证 token(从 FRP 服务提供商控制台获取)
|
||||
token = your_token_here
|
||||
|
||||
[payment]
|
||||
# 隧道类型:http
|
||||
type = http
|
||||
# 本地 IP(通常是 127.0.0.1)
|
||||
local_ip = 127.0.0.1
|
||||
# 本地端口(Spring Boot 运行端口)
|
||||
local_port = 8080
|
||||
# 自定义域名(从 FRP 服务提供商控制台获取)
|
||||
custom_domains = your-domain.openfrp.net
|
||||
|
||||
# 如果需要多个服务,可以添加更多配置段
|
||||
# [other-service]
|
||||
# type = http
|
||||
# local_ip = 127.0.0.1
|
||||
# local_port = 3000
|
||||
# custom_domains = other-domain.openfrp.net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user