Coder Social home page Coder Social logo

Comments (4)

zicla avatar zicla commented on June 30, 2024

有没有tank.json支持的参数列表?
要用caddy代理,所以只想监听127.0.0.1

tank.json中在安装的时候有两个字段:ServerPort表示监听的端口默认为6010,MatterPath表示上传文件存放的位置,默认为空表示存于安装目录下的matter文件夹中。

如果只想监听到127.0.0.1那么就应该将ServerPort值修改为80。一般说来这个端口值可以不用修改的,你可以通过配置一个反向代理,来让所有外部请求都访问到80端口。如果还有疑惑可以加钉钉群。

from tank.

kybom avatar kybom commented on June 30, 2024

也就是说目前不能修改?

from tank.

zicla avatar zicla commented on June 30, 2024

也就是说目前不能修改?

可以修改的,直接改 tank.json这个文件就可以,修改完了之后重启应用。

from tank.

kybom avatar kybom commented on June 30, 2024

是这样修改吗?

"ServerPort": "127.0.0.1:6010"

还是这样修改?

"ServerHost": "127.0.0.1"

from tank.

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.