开启frpc内网穿透后nginx网站获取访问ip全是127.0.0.1本地ip的解决办法
首选修改frpc.ini配置添加一行proxy_protocol_version = v2每个需要的隧道都要添加[xxxxxxxxxxxxx] # 备注:-xxxxxxx privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 80 custom_domains = bangshun.com u
首选修改frpc.ini配置添加一行proxy_protocol_version = v2每个需要的隧道都要添加[xxxxxxxxxxxxx] # 备注:-xxxxxxx privilege_mode = true type = http local_ip = 127.0.0.1 local_port = 80 custom_domains = bangshun.com u
1. 列出所有服务(包括启用的和禁用的)# systemctl list-unit-files --type=service2. 启动、重启、停止、重载服务以及检查服务(如 httpd.service)# systemctl start httpd.service # systemctl restart httpd.service # systemctl stop http