Describe the results you received: http 能正常出数据,https 浏览器就显示 502 错误 (proxy_pass https://127.0.0.1:7443) (frp https) http 和 https 都正常出数据 (proxy_pass https://127.0.0.1:17443) (frp tcp) 所有配置直接访问公网服务器 frps 的端口都能正常出数据 Describe the results you expe...
按照上面的配置在浏览器中通过地址:http://hy.atools.club/xzy/login 访问,提示:该网页无法正常运作,HTTP ERROR 502 但是通过地址 http://hy.atools.club:15305/x... 访问则可以,我要如何做可以不用输入端口号 15305 下面是简单的网络拓扑图nginxfrp 有用关注4收藏 回复 阅读3.7k 3 个回答 得票最新 xdsnet...
proxy_pass https://$host:5678; #端口号(5678)替换为你frps的https监听端口 error_page 502 http://$host:6666/$request_uri; #端口号(6666)替换为你下一个server的监听端口 } #access_log /.log; #若去除行首的注释符,则需要修改成你想要存放日志的位置 } 流程图中server2部分为: server { listen 66...
点击登录后地址栏被自动更改为 http://49.xxx.xxx.119/xzy/home, 出现“该网页无法正常运作” HTTP ERROR 502. 看下图此时手动将地址栏的URL更换为 http://49.xxx.xxx.119:15305/xzy/home (即手动在IP地址后面填写 frp 映射的端口号),就可以正常打开项目了。 我的问题是,要如何配置可以不用手动填写端口号...
proxy_pass http://$host$request_uri; proxy_set_header HOST$host; proxy_buffers 256 4k; proxy_max_temp_file_size 0k; proxy_connect_timeout 30; proxy_send_timeout 60; proxy_read_timeout 60; proxy_next_upstream error timeout invalid_header http_502; ...
proxy_pass http://公网ip:8001/verify?$query; # 发送原始请求 proxy_pass_request_body off; # 清空 Content-Type proxy_set_header Content-Type ""; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; ...
协议类型一般是http、https、tcp等,这里选择http 服务名称随便起,比如router 域名配置填写 router.frp-ss.win 内网地址填写路由器ip 如192.168.1.1 内网端口填写80 远程主机端口填写上面的http穿透服务端口8080 意思就是当外网访问router.frp-ss.win:8080的时候,VPS会把建立一个连接指向你内网192.168.1.1:80 ...
proxy_set_header X-Forwarded-Proto $scheme;# request.getSchema()可以返回正确的当前页面使用的协议,http 或是 https;proxy_pass http://127.0.0.1:9880;#指向本机docker 容器端口} error_page404/404.html; location = /40x.html { } error_page500502503504/50x.html; ...
proxy_http_version 1.1; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. ...