summaryrefslogtreecommitdiffstats
path: root/roles/git/files/etc/uwsgi
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-21 18:48:19 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-21 18:48:19 +0200
commit9d9fe107d0de34602775cbee2ca5208d604e0c5b (patch)
treeb269e53cc63202c5e4114d731f912f7b33676be7 /roles/git/files/etc/uwsgi
parentf13bae3697d23437af6af325262e75281dec2e30 (diff)
Replace gitweb with cgit.
Diffstat (limited to 'roles/git/files/etc/uwsgi')
-rw-r--r--roles/git/files/etc/uwsgi/apps-available/cgit.ini6
-rw-r--r--roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini4
2 files changed, 10 insertions, 0 deletions
diff --git a/roles/git/files/etc/uwsgi/apps-available/cgit.ini b/roles/git/files/etc/uwsgi/apps-available/cgit.ini
new file mode 100644
index 0000000..2fb5b25
--- /dev/null
+++ b/roles/git/files/etc/uwsgi/apps-available/cgit.ini
@@ -0,0 +1,6 @@
+[uwsgi]
+plugins = cgi
+procname-master = uwsgi %(deb-confname)
+cgi = /usr/lib/cgit/cgit.cgi
+uid = cgit
+gid = www-data
diff --git a/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini b/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini
new file mode 100644
index 0000000..6718237
--- /dev/null
+++ b/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini
@@ -0,0 +1,4 @@
+[uwsgi]
+plugins = cgi
+procname-master = uwsgi %(deb-confname)
+cgi = /usr/lib/git-core/git-http-backend