aboutsummaryrefslogtreecommitdiff
path: root/cmd/whoisfront
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-06-13 22:35:30 +0000
committerChristine Dodrill <me@christine.website>2019-06-13 22:35:30 +0000
commite41430db9ddef4466d36cc30023df08999aa0db3 (patch)
treec7d2338c634faf03d7b2b35f1b323f907df5344e /cmd/whoisfront
parent6de9c7ba1efe9035edf23202cf2663ff06e41722 (diff)
downloadx-e41430db9ddef4466d36cc30023df08999aa0db3.tar.xz
x-e41430db9ddef4466d36cc30023df08999aa0db3.zip
cmd/whoisfront: Caddyfile for later deployment
Diffstat (limited to 'cmd/whoisfront')
-rw-r--r--cmd/whoisfront/Caddyfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/whoisfront/Caddyfile b/cmd/whoisfront/Caddyfile
new file mode 100644
index 0000000..ef2411b
--- /dev/null
+++ b/cmd/whoisfront/Caddyfile
@@ -0,0 +1,7 @@
+front.akua:80 {
+ cgi {
+ match /front
+ exec /usr/local/bin/whoisfront
+ env SWITCH_COUNTER_URL=https://www.switchcounter.science/webhook/stuff
+ }
+}