Git Product home page Git Product logo

Comments (3)

iGeeky avatar iGeeky commented on May 26, 2024

不行,目前区分应该是按应用来做的.
如果你需要区分测试环境跟线上环境,最好是部署两套.
如果希望使用一套,那可以定义不同的应用.

from wolf.

alfred-liu96 avatar alfred-liu96 commented on May 26, 2024

不行,目前区分应该是按应用来做的. 如果你需要区分测试环境跟线上环境,最好是部署两套. 如果希望使用一套,那可以定义不同的应用.

我线上和测试环境只有域名是不同的,如果使用应用来区分,要如何配置呢?

我在wolf上新增了应用,也在apisix上新增了对应appid的consumer,不过我没找到区分环境的设置在哪

from wolf.

iGeeky avatar iGeeky commented on May 26, 2024

@alfred-liu96 就是在apisix设置设置不同的appId. 比如正式环境的appId叫 app, 测试环境叫 app_test.
这样他们就能用同一个wolf,但是有两套配置了.

from wolf.

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.