From eb670e687edcc065c2886be806acd80a697f9bea Mon Sep 17 00:00:00 2001 From: maddaat Date: Fri, 10 Apr 2026 17:34:33 +0400 Subject: Initial commit --- etc/httpd.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 etc/httpd.conf (limited to 'etc/httpd.conf') diff --git a/etc/httpd.conf b/etc/httpd.conf new file mode 100644 index 0000000..3defb8c --- /dev/null +++ b/etc/httpd.conf @@ -0,0 +1,23 @@ +types { + include "/usr/share/misc/mime.types" +} + +server "maddaat.org" { + listen on * port 80 + + location "*" { + block return 307 "http://git.maddaat.org" + } +} + +server "git.maddaat.org" { + listen on * port 80 + + location "/cgit.*" { + root "/cgit" + no fastcgi + } + + root "/cgi-bin/cgit.cgi" + fastcgi socket "/run/slowcgi.sock" +} -- cgit v1.2.3