Giter Club home page Giter Club logo

Comments (12)

mobeicanyue avatar mobeicanyue commented on June 8, 2024

为什么要用局域网才能使用的域名,1panel不是管理服务器的吗

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

为什么要用局域网才能使用的域名,1panel不是管理服务器的吗

有没有可能是内网服务器呢?

from 1panel.

mobeicanyue avatar mobeicanyue commented on June 8, 2024

内网可以自签证书和搞dns吧,你localhost不是只能本机访问

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

内网可以自签证书和搞dns吧,你localhost不是只能本机访问

内网服务器 + FRP + 反代

from 1panel.

mobeicanyue avatar mobeicanyue commented on June 8, 2024

反代直接 127.0.0.1:port 啊

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

反代直接 127.0.0.1:port 啊

我当然知道直接 127.0.0.1:port 可以。我是希望localhost:port也支持

from 1panel.

mobeicanyue avatar mobeicanyue commented on June 8, 2024

而且反向代理设置也不是在这里吧…不知道你想表达什么

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

而且反向代理设置也不是在这里吧…不知道你想表达什么

...我这个截图只是说明这个域名输入框不能输入localhost这个域名,我又没说反代配置在这里。我不知道你是怎么理解的

from 1panel.

mobeicanyue avatar mobeicanyue commented on June 8, 2024

你的意思是,外部访问 localhost 映射到你的服务器?

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

你的意思是,外部访问 localhost 映射到你的服务器?

当然不是啊,不理解算了。。。

from 1panel.

realzolo avatar realzolo commented on June 8, 2024

你的意思是,外部访问 localhost 映射到你的服务器?

就比如这个demo.onezol.com这个站点,这个站点就是我部署在内网服务器上通过frp暴露在公网的。
1714924467260
为了在局域网和公网下都能访问到这个站点,这里必须配置一个“127.0.0.1:port”的域名(只配置demo.onezol.com是没什么用的),不加这个局域网是无法访问的。
我想说的是,这里既然字面意义上说的是“域名”,我更希望配置的是“localhost:port”,而不是“ip+port”。

from 1panel.

zhengkunwang223 avatar zhengkunwang223 commented on June 8, 2024

这种建议还是自己修改配置文件

from 1panel.

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.