Skip to content

Instantly share code, notes, and snippets.

@nicdoye

nicdoye/uwsgi.ini

Created May 16, 2018
Embed
What would you like to do?
uWSGI config for mercurial
[uwsgi]
uid = uwsgi
gid = uwsgi
pidfile = /run/uwsgi/uwsgi.pid
emperor = /etc/uwsgi.d
stats = /run/uwsgi/stats.sock
chmod-socket = 660
emperor-tyrant = true
cap = setgid,setuid
; https://www.mercurial-scm.org/wiki/PublishRepositoriesOnNginx
plugins = python
socket = /run/uwsgi/hgweb.sock
chdir = /var/www/hg
wsgi-file = hgweb.wsgi
; https://stackoverflow.com/questions/15878176/uwsgi-invalid-request-block-size
; http://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html
buffer-size = 65535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.