From 0f11a66864ce98a8a9a58af382bd8efbff471f22 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Mon, 18 May 2020 08:26:27 +0000 Subject: web: added cgit's uwsgi configuration files. --- public/fs/etc/tmpfiles.d/emperor.uwsgi.conf | 1 + public/fs/etc/uwsgi/vassals/cgit.ini | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 public/fs/etc/tmpfiles.d/emperor.uwsgi.conf create mode 100644 public/fs/etc/uwsgi/vassals/cgit.ini (limited to 'public') diff --git a/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf b/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf new file mode 100644 index 0000000..bba8461 --- /dev/null +++ b/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf @@ -0,0 +1 @@ +d /run/uwsgi 0755 nginx nginx - \ No newline at end of file diff --git a/public/fs/etc/uwsgi/vassals/cgit.ini b/public/fs/etc/uwsgi/vassals/cgit.ini new file mode 100644 index 0000000..59e20e2 --- /dev/null +++ b/public/fs/etc/uwsgi/vassals/cgit.ini @@ -0,0 +1,12 @@ +[uwsgi] +plugins = cgi +cgi = /srv/www/cgi-bin/cgit/cgit.cgi + +socket = /run/uwsgi/cgit.socket +chown-socket = nginx:nginx + +uid = nginx +gid = nginx + +processes = 1 +threads = 8 -- cgit v1.2.3