diff options
| author | maddaat <git@maddaat.org> | 2026-04-10 17:34:33 +0400 |
|---|---|---|
| committer | maddaat <git@maddaat.org> | 2026-04-10 17:34:33 +0400 |
| commit | eb670e687edcc065c2886be806acd80a697f9bea (patch) | |
| tree | f09c584c635bb817ceadf4a9ea413c01b06ef3e0 /etc/httpd.conf | |
| download | infra-eb670e687edcc065c2886be806acd80a697f9bea.tar infra-eb670e687edcc065c2886be806acd80a697f9bea.tar.gz infra-eb670e687edcc065c2886be806acd80a697f9bea.tar.bz2 infra-eb670e687edcc065c2886be806acd80a697f9bea.tar.lz infra-eb670e687edcc065c2886be806acd80a697f9bea.tar.xz infra-eb670e687edcc065c2886be806acd80a697f9bea.tar.zst infra-eb670e687edcc065c2886be806acd80a697f9bea.zip | |
Initial commit
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" +} |
