frps.toml
bindPort = 7000
vhostHTTPPort = 7001
custom404Page = "./error.html"
Nginx
server {
listen 443 ssl;
ssl_certificate xxx;
ssl_certificate_key xxx;
server_name xxx;
location / {
proxy_pass http://127.0.0.1:7001;
}
}
frpc.toml
serverAddr = "port.frps.url"
serverPort = 7000
[[proxies]]
name = "web_2"
type = "http"
localPort = 80
customDomains = ["web2.frps.url"]