aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile.example
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-02-13 08:45:49 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-02-13 08:45:49 +0100
commit17be2fcb106ddc9c36628e9f5dece28369affc30 (patch)
tree4f3cb1d2fade5467f6c79a9a1abe1da0852a61d0 /Caddyfile.example
Extract gallery app from perso/vps into standalone project
Extracted all gallery-related files from ~/perso/vps: - gallery.go, gallery_test.go (Go source + tests) - templates/ (index, login, gallery HTML) - static/style.css - go.mod/go.sum (renamed module to github.com/kagamino/kagapics) - Caddyfile.example (gallery-only Caddy config) - DESIGN.md (from galery.md)
Diffstat (limited to 'Caddyfile.example')
-rw-r--r--Caddyfile.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/Caddyfile.example b/Caddyfile.example
new file mode 100644
index 0000000..fa7fd56
--- /dev/null
+++ b/Caddyfile.example
@@ -0,0 +1,12 @@
+{
+ supervisor {
+ ./gallery serve --addr :8020 --data ./gallery-data {
+ dir /home/ubuntu
+ restart_policy always
+ }
+ }
+}
+
+pics.kagamino.dev {
+ reverse_proxy localhost:8020
+}