Hydrangeas, u pass, and job description
seen from United States

seen from United Kingdom
seen from United States
seen from Türkiye

seen from United States

seen from United States
seen from United States
seen from China

seen from United States
seen from Türkiye
seen from United States

seen from United States
seen from United Kingdom
seen from United States
seen from United Kingdom
seen from United States
seen from United Kingdom
seen from China
seen from Belarus
seen from United Kingdom
Hydrangeas, u pass, and job description
Please don't run away without notice. Don't disappear without telling me why.
Setting up uWSGI + nginx
I've spent some time recently converting from using PHP to using Django for my web applications. As a result, I'm migrating from apache2 (to be totally fair, it does have wsgi support, but I'd rather re-design using the latest fad) to nginx and uWSGI.
So, here's some notes to myself on setting it up again.
uwsgi has an issue with --plugins python, use "python27" instead. It's my hunch it's because of a symlink.
Set up a static alias to link django static resources into
Invocation of uwsgi is below
Run uwsgi as "www" user, who's home is in /srv/www
The tools I used in place of daemontools is on my github. Revisit this.
Given
SRV="/srv/www/uwsgi" DATA="$SRV/app/$APP" SOCK="$SRV/sock/$APP.sock"
Invocation
exec uwsgi \ --plugins python27 \ --chdir $DATA/.. \ --socket $SOCK \ --chmod-socket \ -wsgi ./$APP/django_wsgi.py
I wrote some tools to daemonize this, but I have a hunch daemontools might be better.