«1-РБПО для бедных»: сказ о том, как стартап безопасность прикручивал / Хабр
https://habr.com/ru/companies/bastion/articles/1038686/

«2-РБПО для бедных»: разворачиваем виртуальные машины / Хабр
https://habr.com/ru/companies/bastion/articles/1038692/

«3-РБПО для бедных»: разворачиваем сервисы безопасной разработки / Хабр
https://habr.com/ru/companies/bastion/articles/1038710/

#devops #security #DefectDojo #PostgreSQL #Redis #Nginx #uWSGI l #Celery #DependencyTrack #Checkov #Trivy #Gitleaks #OpenGrep #Nuclei

«РБПО для бедных»: сказ о том, как стартап безопасность прикручивал

Сказка — ложь, да в ней намек, разработчикам урок. В некотором опенспейсе, в некотором коворкинге завелся один стартап. С кофе-машиной, горящими дедлайнами и вечными созвонами. Решили там сделать...

Хабр

Just ran out of brainpower for the day trying to fix WTF a dev w/root on a production box did to deploy a #uwsgi application. Dev in question: no longer available. Apparently he didn't know there was a EL package available or how the “Emperor" rig works, so the app needs to be started by hand on every reboot. This was not a documented fact.

I failed to hack up a fix. The Emperor kept cursing the application instance. I like the absurd terminology, hate the documentation...

#Sysadminnery

Having this weird issue where if I run my Django app in a systemd managed service, it can’t make any outbound networking calls (no DNS resolution, no opening of sockets), but when I run it manually, no problems. I’m not sure where to start looking. #uwsgi #systemd #django #network

New blogpost: https://blog.tyk.nu/blog/the-story-of-postgresql-choking-on-an-unreadable-home/

It is a lovely story about debugging TLS connection issues from Django to PostgreSQL.

The root cause turned out to be libpq erroring out when running with the environment variable $HOME set to an existing but unreadable path, in this case "/root"

Enjoy!

#django #postgresql #supervisor #uwsgi

The Story of PostgreSQL Choking on an Unreadable $HOME - TykBlog

Tyklings blog

#mood
Wed Mar 12 21:07:14 2025 - waiting for Emperor death...

#uwsgi

DjangoとuWSGI、Nginxの関係を理解したい - Qiita

はじめにDjangoを使ったアプリをデプロイする時にuWSGIとNginxが必要らしいと聞いて、役割や関係を理解するのに時間がかかったので書いておきますここでは、DjangoとuWSGI、Ngi…

Qiita

Since I have a single script using the #Python #cgi module (the rest is C++ using SimpleCGI), I figured that switching to a full framework was overkill. So instead I am rewriting using urllib.parse.parse_qs for the query string and email.parser for the multipart body.

Thanks for all the helpful comments! I found #uwsgi to be very useful for other parts of the code.

@jaseg That was indeed quite minimal. I struggled with the #uwsgi manual and was unable to find a definition for the application interface, but got some help from

https://dev.to/cwprogram/python-deployment-wsgi-with-uwsgi-d45

I have successfully converted the simple scripts, but I have one more complex one that need to handle POST data (both multipart/form-data, possibly some query parameters in the URI, and a direct binary POST with a file upload). The #cgi package did help me there, but I am struggling to find any documentation on how uwsgi handles that.

#Python

Python Deployment: WSGI with uWsgi

Installation The Somewhat Basics Configuration Notable HTTP Features Chunked Input...

DEV Community
#uspol but as #uwsgi status messages
Exploding memory usage in Django/uwsgi containers

We recently came across an interesting problem at work while migrating from one flavor of Kubernetes to another. It’s sufficiently obscure to merit a brief write-up for reference.

xahteiwi.eu