FRP共享80端口

共享80端口

FRP共享80端口

共享80端口

服务端

frps 最新版 20240629版配置 frps.toml

vhosthttpport = 2480
vhosthttpsport = 2443

FRP共享80端口

frps.toml

ng配置nginx.conf

#端口共享开始 
    server 
    {
listen 80; 
location / { 
proxy_pass http://127.0.0.1:2480;
proxy_redirect http://$host/ http://$http_host/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
} 
}
#端口共享结束

FRP共享80端口

nginx.conf

客户端frpc

frpc配置

[[proxies]]
name = "web1_http"
type = "http"
localPort = 80
customDomains = ["wp.xnwmw.cn"]

FRP共享80端口

frpc配置