Tiago Maluta 💬
💬 This page hosts a collection of content, some of which dates back to my university days...
My posting frequency has been inconsistent—there were periods of high activity followed by long periods of inactivity. I didn't delete anything;
I retained all the data even after making some platform transitions.
This blog acts as a kind of public memoir of things I've shared before, so maybe it can inspire me to contribute more consistently.
Anyway, if you are here, I hope you find something you enjoy. ❤️

— Tiago Maluta

Posts

nginx uwsgi

March 20, 2018

I followed the Setting up Django and your web server with uWSGI and nginx tutorial

uwsgi --ini <INIT FILE> --uid www-data --gid www-data --daemonize /var/log/uwsgi.log

What worked differently for me:

  1. Save the socket file in /tmp
  2. Change socket permission to rw (666)
  3. Not using the emperor mode

Bonus

  • Pitfalls and Common Mistakes using nginx