Skip to content

Instantly share code, notes, and snippets.

View apollo13's full-sized avatar

Florian Apolloner apollo13

View GitHub Profile
@apollo13
apollo13 / apps.ini
Created August 25, 2018 15:24 — forked from rugginoso/apps.ini
uWSGI Emperor + FastRouter + SubscriptionServer + HTTP + SystemD
[uwsgi]
# Gemeric app
declare-option = app=master=true;socket=/run/uwsgi/$1.sock;chmod-socket=660;vacuum=true;auto-procname=true;procname-prefix-spaced=$1;cheap=true;idle=60ksm=true
# Django
declare-option = django=venv=$1venv;pythonpath=$1;chdir=$1;module=$2.wsgi
# Fastrouter subscription
declare-option = add-domain=subscribe-to=127.0.0.1:12345:$1