Giter VIP home page Giter VIP logo

Comments (3)

yangbojun avatar yangbojun commented on May 5, 2024

版本:蓝鲸智云 PaaS 社区版3.2.2
使用的开源版部署,第一次部署拉起服务后访问不到http://www.bking.com:8001,服务器后端无请求显示,在服务器上使用curl -XGET "http://127.0.0.1:8001"可以看到请求并返回302
image
于是尝试改为部署生产环境使用nginx代理,设置了环境变量BK_ENV="production",但是拉起服务显示还是development server
image
请问这种情况该怎么排查解决呢

from bk-paas.

wklken avatar wklken commented on May 5, 2024
  • 这一行Starting development server是django打的, 只要是使用python manage.py runserver拉起的都会是Starting development server
  • 要确认生效, 可以在conf/settings_production.py中加入打印语句, 生效将会加载conf/settings_production.py

from bk-paas.

yangbojun avatar yangbojun commented on May 5, 2024
  • 这一行Starting development server是django打的, 只要是使用python manage.py runserver拉起的都会是Starting development server
  • 要确认生效, 可以在conf/settings_production.py中加入打印语句, 生效将会加载conf/settings_production.py

好的,非常感谢已经可以正常访问了

from bk-paas.

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.