diff options
Diffstat (limited to 'etc/httpd.conf')
| -rw-r--r-- | etc/httpd.conf | 23 |
1 files changed, 23 insertions, 0 deletions
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" +} |
