FRP内网穿透相关
Frps服务端一键配置脚本https://github.com/MvsCode/frps-onekey
教程https://www.yxtvs.com/2020/872.html
FRP和Nginx共用80端口在/etc/nginx/conf/nginx.conf中http{ }里添加以下参数
server {
listen 80;
server_name *.abc.xyz;
location / {
proxy_pass http://127.0.0.1:81;
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;
}
}
页:
[1]