twtrubiks / docker-django-nginx-uwsgi-postgres-tutorial

Docker + Django + Nginx + uWSGI + Postgres 基本教學 - 從無到有 ( Docker + Django + Nginx + uWSGI + Postgres Tutorial )
MIT License
428 stars 100 forks source link

Can we run the same without nginx? #5

Open jinnabaalu opened 6 years ago

twtrubiks commented 6 years ago

hi @JinnaBalu ~ Why not use nginx?

You can also do not use nginx, only use uwsgi to handle static content, but uwsgi does not handle static content better than nginx, and it is recommended to use with nginx, and nginx has many advantages.

jinnabaalu commented 6 years ago

IF i have two different servers one for nginx, one for application, How do i manage this situation? Content is in application server. And Nginx as reverse proxy. ?

twtrubiks commented 6 years ago

I haven't dealt with this part , but try to see if the Nginx ACL can solve your problem?