Learn how to deploy a Django website on Nginx with uWSGI as a web server gate interface. In this complete tutorial, we will use Ubuntu 20.04 and the latest version of Django and uWSGI. Nginx will communicate requests to the WSGI via a UNIX socket. Additionally, we will create a system service to launch the website at boot (and keep the service running). Code snippets and more at 🤍tonyteaches.tech/django-nginx-uwsgi-tutorial/ Check out my vlog channel 🤍Tony Florida #django #uwsgi #nginx #ubuntu
is installing and configuring Gunicorn instead of uWSGI the same?
Thank you very much broo
This is THE online resource to get a Django project deployed! I can't thank you enough, Tony, I have been struggling with this for days!
Subscribed, thank you for this.
Still not 100% clear on why nginx is needed here - I heard your explaination in the video that nginx is "better" at handling static files, but that didn't really sound like concrete answer. Would you be able to expand on that a little bit? Thanks!
Side question - the static files that are generated with collectstatic, what are those? Just defaults that get shipped with Django?
Thanks again for this great tutorial
Спасибо большое за видео! Очень доступно рассказано! Успехов!)
What is the font? Looks amazing.
Thank you so much!
Anyone got 404 not found Failed to load resource when trying to visit medie/media.gif?
Thanks a lot, Tom this was really helpful
mine stuck at "starting uWSGI Emperor" it didn't do anything
what happened with that?
ZpR1W-NWnp4&t=23m25s 23:25 I think it is due to port forwarding ?
I followed the video I have and it helped me setup my first cloud server and it's running normally thanks to the knowledge I learned from this video, thank you very much.
After I copied the same configurations in my local server. I just changed the cloud server name to the local server name. The path name of the project in the cloud server and that of the physical server remains unchanged. So no difference in the path of the project. Unfortunately, at the level of access to files in the media folder, it shows me the 403 Forbidden error and I am really surprised, as nothing has changed in terms of configuration except for the public IP addresses. And I want to access the website, it shows me the message: "Welcome to nginx!" instead of the platform home page.
How to solve this problem?
Muchas gracias muy completo tu video y me ayudo a reforsar conceptos (Y)
Thank you very much for this through reality-show-like tutorial! Much helpful! :-)
Hi, I have a question. Does this method works with Plesk panel on Ubuntu LTS (Apache web server and nginx as proxy server)? Actually, I have plesk panel and couldn't run Django app with Postgre SQL database (database has no issue, it works fine) Please record a video about plesk panel for Django installation...
This is a wonderful tutorial. Thank you very much Tony!
I unfortunately ran into some issues at the end of step 5. when I try to get media files, nginx gives me a 403 error. I set the .conf file correctly (and is linked to site-enabled directory) and my media directory has r-x permissions for all users. I would really appreciate it If you can help me understand the problem, or just where I can start to debug.
5 0 2 B A D G A T E W A Y.... If I try to serve the media file: 4 0 3 F O R B I D D E N