-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile
42 lines (39 loc) · 1.09 KB
/
Caddyfile
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
https://grindvoll.org https://www.grindvoll.org {
root public
gzip
log logs/grindvoll-access.log
tls stian@grindvoll.org
upload /screenshot/upload {
to {$SSPATH}
hmac_keys_in stian={$CADDY_UPLOAD_HMAC}
filenames_form NFC
filenames_in u0000–u007F u0100–u017F u0391–u03C9 u2018–u203D u2152–u217F
}
git https://github.com/stiangrindvoll/grindvoll.org.git {
hook /webhook {$HOOKSECRET}
path {$ROOTPATH}
then hugo
}
}
https://grindvoll.org/screenshot https://www.grindvoll.org/screenshot {
root {$SSPATH}
gzip
log logs/grindvoll-access.log
tls stian@grindvoll.org
}
https://gaia.grindvoll.org {
gzip
proxy / 127.0.0.1:3000
tls stian@grindvoll.org
}
https://melt.grindvoll.org {
gzip
proxy / 127.0.0.1:8888
tls stian@grindvoll.org
}
https://api.grindvoll.org {
log /{$LOGCONTENT} logs/{$LOGCONTENT}.json "{request_body}"
gzip
tls stian@grindvoll.org
status 200 /
}