Comments (6)
测试成功了,cool
from frp.
还有个问题就是,服务端有安装lnmp,有没有办法frps和lnmp共用80端口呢?
from frp.
frps 使用 80端口, 网站使用其他端口 如 8080, 在服务端运行 frpc 把本机 8080 反向到 frps 上.
from frp.
我觉得 nginx 就绑定 80 端口,frps 绑定一个其他端口,nginx 的 url 路由规则非常丰富,把需要通过 frps 访问的域名或者 url 配置一下 proxy_pass 参数,转发到 frps 这样比较好,对你之前的服务也不会有太大影响。
from frp.
可以实现,nginx监听80端口,对应domain转发到frps相应端口上。
我的配置文件如下:
server { listen 80; server_name xx.xx.xx; location / { proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:82; } proxy_connect_timeout 300s; proxy_read_timeout 300s; proxy_send_timeout 300s; proxy_buffer_size 64k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k; proxy_ignore_client_abort on; }
from frp.
1.怎样使用Windows客户端?2.能不能在访问页面前先进行用户名和密码的认证?
from frp.
Related Issues (20)
- 如何强制HTTPS请求的端口转发 HOT 11
- 服务端如何优雅地控制客户端的连接 HOT 17
- plugin_socks5 不可用 HOT 1
- [Feature Request] HOT 1
- win7系统启动客户端 HOT 2
- FRP BUG!!! HOT 3
- 无法连接到 frps-panel 插件面板 HOT 11
- Please note that the lastest version of FRP is reported as malicious by Google Chrome and Windows Defender. HOT 1
- 能否实现一条命令生成https的端口转发链接
- log中报错:Accept new mux stream error: tls: client offered only unsupported versions: [302 301]
- connection write timeout HOT 1
- 关于FRP-0.59.0版本当前依赖库存在的安全漏洞 HOT 4
- Why does force type=http require a domain?
- [Feature Request] Live Reload HOT 4
- [Feature Request] I found that when the type is UDP, the default is UDP6 HOT 1
- [Feature Request] Support UDP in socks5 proxy plugin HOT 1
- GitHub Docker repository is not link to this GitHub repository HOT 1
- 如何设置配置证书http自动定向https获取真实IP。
- [Feature Request] 最大支持客户端连接数是多少 HOT 2
- [Feature Request] 希望能在 dashboard 中显示客户端的连接ip
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp.