Code Monkey home page Code Monkey logo

Comments (8)

twtrubiks avatar twtrubiks commented on June 7, 2024 1

了解,這樣的話應該是可以,有空的話我試試看。

from docker-django-nginx-uwsgi-postgres-tutorial.

twtrubiks avatar twtrubiks commented on June 7, 2024 1

@nggary hi~ 我最近剛好看到 haproxy ,
應該可以透過 nginx 的 Access Control List (ACL) 解決你這個問題,
你可以用這個關鍵字下去查查看~

希望對你有幫助

from docker-django-nginx-uwsgi-postgres-tutorial.

twtrubiks avatar twtrubiks commented on June 7, 2024

請問為什麼還要再建立一個呢? 你是要做 Load balance ?

from docker-django-nginx-uwsgi-postgres-tutorial.

nggary avatar nggary commented on June 7, 2024

因為我希望能夠重用nginx container

from docker-django-nginx-uwsgi-postgres-tutorial.

twtrubiks avatar twtrubiks commented on June 7, 2024

所以你希望一個nginx container,然後兩個 django+uwsgi,並且 django 是不同的程式?

from docker-django-nginx-uwsgi-postgres-tutorial.

nggary avatar nggary commented on June 7, 2024

對的

from docker-django-nginx-uwsgi-postgres-tutorial.

twtrubiks avatar twtrubiks commented on June 7, 2024

好奇問一下,這兩個 django 沒辦法整合成一個嗎?

from docker-django-nginx-uwsgi-postgres-tutorial.

nggary avatar nggary commented on June 7, 2024

你可以想像成不同的客戶有獨立的django app,所以不能整合

from docker-django-nginx-uwsgi-postgres-tutorial.

Related Issues (10)

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.