all repos — nixfiles @ 346052edcd98d985372dce572d5963a0dac10979

System and user configuration, managed by nix and home-manager

user/settings/development/web/Caddyfile (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
	local_certs
	skip_install_trust
}

alin.localhost, alin.test, alanpearce.test, alanpearce.localhost {
	reverse_proxy http://localhost:8080
}

auth.localhost {
	reverse_proxy http://localhost:8082
}

chat.localhost {
	reverse_proxy http://localhost:9090
}

elgit.localhost {
	reverse_proxy http://localhost:5555
}

hugo.localhost {
	reverse_proxy http://localhost:1313
}

llama.localhost, http://llama.localhost {
	reverse_proxy http://localhost:11343
}

searchix.localhost {
	handle_errors {
		rewrite * /error.html
		templates
		file_server
	}
	handle {
		reverse_proxy http://localhost:3000
	}
}

xhain.localhost {
	root * /Users/alin/projects/github.com/xHain-hackspace/xhain-website/public/
	file_server
}