17 lines
621 B
Plaintext
17 lines
621 B
Plaintext
# 复制为 .env 后填写。仅在使用 frpc 内网穿透时需要。
|
||
# cp .env.example .env
|
||
|
||
# frps 地址与端口(公网或局域网中的 FRP 服务端)
|
||
FRP_SERVER_ADDR=your-frps-host.example.com
|
||
FRP_SERVER_PORT=7000
|
||
FRP_TOKEN=your-frp-token
|
||
|
||
# HTTP 穿透:在 frps 上配置的域名(须与 frps 中 vhostHTTPPort 等匹配)
|
||
FRP_CUSTOM_DOMAIN=mwy.example.com
|
||
|
||
# 公网访问地址(用于 Django CORS / CSRF;带协议,HTTPS 时写 https://)
|
||
FRP_PUBLIC_ORIGIN=https://mwy.example.com
|
||
|
||
# 可选:TCP 穿透时 frps 对外端口(使用 frpc.toml 中 tcp 配置时填写)
|
||
# FRP_REMOTE_PORT=18080
|