RUVIDEO
Поделитесь видео 🙏

Deploy Django HTTPS on a VPS | Nginx Gunicorn | Webdock

Setting up a secure Ubuntu server with https for a Django project is not easy but I successfully followed the instructions on : ? https://realpython.com/django-nginx-gunicorn/ and in this video I cover some of the specifics which I thought would be useful to help others. This is for an upcoming personal project so I am learning only the bits I need.

The tutorial is at time of writing this, 1 year old, but everything is still applicable and you can use the same config and steps to get your domain name and web server securely deployed. Note, the tutorial was for AWS, but you can use the same steps to set up your own VPS server, just alter the AWS specific parts.

Note, it helps if you already have a domain name and are able to point it at the public ip adress of the server. In my case I was able to change the DNS (held with ionos) 'A record' to point to my Webdock VPS server's IPv4 and IPv6 addresses.

Note if you use Heroku free hosting for Python at present : "Heroku will end our free product plans for Heroku Dynos, Heroku PostgreSQL and Heroku Data for Redis on November 28,"

Use this link for a discount as well : https://webdock.io/en?maff=wdaff--170

-- chapters --
00:00 Intro - Django & https
05:20 Why use Gunicorn?
09:10 See the working https front end to a Django site
12:14 HTTPie
17:35 the 'static' JavaScript files are served just from Nginx

Become a patron : ? https://www.patreon.com/drpi
Buy me a coffee (or Tea) ☕ https://www.buymeacoffee.com/DrPi

Pytest with FastAPI course on "TestDriven.io":
-------------------------------------------------------------------------
https://testdriven.io/courses/tdd-fastapi/?utm_source=python360
https://testdriven.io/courses/scalable-fastapi-aws/?utm_source=python360
https://testdriven.io/courses/fastapi-celery/?utm_source=python360

? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 5000 free API calls. No credit card required.)

Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?

You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! ?

? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10

Thumbs up yeah? (cos Algos..)
Setup Django For Production
Webdock fast VPS for Python

#django #httpswebserver #webdock

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Deploy Django HTTPS on a VPS | Nginx Gunicorn | Webdock», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.