Coder Social home page Coder Social logo

Comments (6)

keen88 avatar keen88 commented on July 24, 2024

测试成功了,cool

from frp.

keen88 avatar keen88 commented on July 24, 2024

还有个问题就是,服务端有安装lnmp,有没有办法frps和lnmp共用80端口呢?

from frp.

yakumioto avatar yakumioto commented on July 24, 2024

frps 使用 80端口, 网站使用其他端口 如 8080, 在服务端运行 frpc 把本机 8080 反向到 frps 上.

from frp.

fatedier avatar fatedier commented on July 24, 2024

我觉得 nginx 就绑定 80 端口,frps 绑定一个其他端口,nginx 的 url 路由规则非常丰富,把需要通过 frps 访问的域名或者 url 配置一下 proxy_pass 参数,转发到 frps 这样比较好,对你之前的服务也不会有太大影响。

from frp.

JimLee1996 avatar JimLee1996 commented on July 24, 2024

可以实现,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.

zyy111999 avatar zyy111999 commented on July 24, 2024

1.怎样使用Windows客户端?2.能不能在访问页面前先进行用户名和密码的认证?

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.