Files
mwy/.env.example
flower_linux 6cc3fdf411 mwy2.0
2026-05-20 16:31:07 +08:00

17 lines
621 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .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