35 lines
804 B
INI
35 lines
804 B
INI
# FRP 客户端配置文件 - 宠物医院管理系统
|
|
# 请根据实际情况修改服务器地址和端口
|
|
|
|
[common]
|
|
# FRP 服务器地址 (公网服务器IP或域名)
|
|
server_addr = your_server_ip_or_domain
|
|
# FRP 服务器端口
|
|
server_port = 7000
|
|
# 通信密钥 (需与服务器端保持一致)
|
|
token = your_token_here
|
|
|
|
# 前端服务穿透 - Vue开发服务器
|
|
[web_frontend]
|
|
type = http
|
|
local_port = 5173
|
|
custom_domains = hospital.yourdomain.com
|
|
# 替换为实际的域名
|
|
|
|
# 后端服务穿透 - Spring Boot应用
|
|
[web_backend]
|
|
type = tcp
|
|
local_port = 8081
|
|
remote_port = 8081
|
|
|
|
# 如果需要HTTPS支持
|
|
[web_frontend_https]
|
|
type = https
|
|
local_port = 5173
|
|
custom_domains = hospital.yourdomain.com
|
|
|
|
# 管理面板 (如果需要远程管理)
|
|
[dashboard]
|
|
type = tcp
|
|
local_port = 7500
|
|
remote_port = 7500 |