summaryrefslogtreecommitdiff
path: root/site/cgit/Caddyfile
blob: 679610ad24cb88a07dd8091f3efbf846c932d17b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
git.hwebs.info {
	@static path /cgit.css /cgit.png /cgit.js /favicon.ico /robots.txt /profile.png
	handle @static {
		root * /usr/local/www/cgit
		file_server
	}

	handle {
		reverse_proxy unix//var/run/fcgiwrap/fcgiwrap.sock {
			transport fastcgi {
				env SCRIPT_FILENAME /usr/local/www/cgit/cgit.cgi
			}
		}
	}
}