summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-05-18 08:26:27 +0000
committerroot@culturestrings <root@culturestrings>2020-05-18 08:29:04 +0000
commit0f11a66864ce98a8a9a58af382bd8efbff471f22 (patch)
tree3f859cd531af2aaf879b1a6a08f445ca88583b92 /public
parentcb8550cc0dbe47ceb9f160a61865d97d1912faed (diff)
downloadculturestrings-0f11a66864ce98a8a9a58af382bd8efbff471f22.tar.bz2
culturestrings-0f11a66864ce98a8a9a58af382bd8efbff471f22.tar.xz
web: added cgit's uwsgi configuration files.
Diffstat (limited to 'public')
-rw-r--r--public/fs/etc/tmpfiles.d/emperor.uwsgi.conf1
-rw-r--r--public/fs/etc/uwsgi/vassals/cgit.ini12
2 files changed, 13 insertions, 0 deletions
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