Files
Giancarlo Razzolini 6c489c9bfc roles/aurweb: Add the missing pieces to make smartgit work with uwsgi
Added the uwsgi_modifier1 option to nginx as described on [0] and also
change the chmod option on the socket to allow nginx to connect to it.

[0] https://gist.github.com/janoliver/85b682227bd9fcb8942885e60208bd76
2020-07-23 11:03:40 -03:00

11 lines
245 B
Django/Jinja

[uwsgi]
plugins = cgi
socket = {{ smartgit_socket }}
chown-socket = {{ aurweb_user }}:http
chmod-socket = 770
threads = 4
cgi = /usr/lib/git-core/git-http-backend
uid = {{ aurweb_user }}
gid = http
daemonize = /var/log/uwsgi/smartgit-aurweb.log