Created
May 16, 2018 17:28
-
-
Save nicdoye/7f0e5826fd57a1750a7f07a9755fcf06 to your computer and use it in GitHub Desktop.
uWSGI config for mercurial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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