添加前端代码和FRP配置文件
This commit is contained in:
35
frp/frpc.ini
Normal file
35
frp/frpc.ini
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user