昨晚上梦见你了 大佬有话说 :
nginx反代群晖得frp,白屏
服务器上有nginxfrps ,群晖得frpc连接到服务器的 frps,然后用nginx反代,结果白屏
location /{
proxy_pass https://127.0.0.1:6001;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
sRGB 大佬有话说 :
262235.xyz/hexo/2018/06/04/frp_setup/
https://s1.328888.xyz/2021/10/30/eT46O.png
昨晚上梦见你了 大佬有话说 :
sRGB 大佬有话说 : 2021-10-30 12:32
262235.xyz/hexo/2018/06/04/frp_setup/
tcp连接就不行,只能http吗?
zc_cz 大佬有话说 :
http协议是这样,要是tcp的话,需要在stream段去配置,当然,需要nginx编译的时候–with-stream了。栗子:
stream {
server {
listen 2333;
proxy_connect_timeout 3s;
proxy_timeout 5s;
proxy_pass 192.168.xxx.xxx:10086;
}
}