Skip to content

Instantly share code, notes, and snippets.

@guilhem
Created December 22, 2014 15:26
Show Gist options
  • Save guilhem/42f4f035981bcdcdf45a to your computer and use it in GitHub Desktop.
Save guilhem/42f4f035981bcdcdf45a to your computer and use it in GitHub Desktop.
[uwsgi]
virtualenv = /usr/share/python/virtualenv
module = app.wsgi:application
if-env = SUDO_USER
shared-socket = :80
http = =0
end-if =
if-not-env = SUDO_USER
http = :8080
end-if =
master = true
processes = 4
uid = www-data
gid = www-data
no-orphans = true
vacuum = true
static-map = /static=/srv/surycat/static
stats = 127.0.0.1:9191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment