需要把frps的http服务端口改为8080 或者其他 与下面配置项对应
server
{
listen 80;
server_name *.frp.*.com;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_pass http://127.0.0.1:8080; #会访问frpc代理的后端服务器 / 接口
}
}