diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-03-01 21:16:43 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-03-01 21:16:43 +0000 |
commit | 1c7126215a8c74154b0d2579b90b346097dcae69 (patch) | |
tree | c71c083a1fb1d73edaeddf3e6c99602342f24a8c /Caddyfile | |
parent | f4e897eb87a3ee7c47488baa8ac81fd94b7d55f1 (diff) | |
download | mfashby.net-1c7126215a8c74154b0d2579b90b346097dcae69.tar.gz mfashby.net-1c7126215a8c74154b0d2579b90b346097dcae69.tar.bz2 mfashby.net-1c7126215a8c74154b0d2579b90b346097dcae69.tar.xz mfashby.net-1c7126215a8c74154b0d2579b90b346097dcae69.zip |
Communication
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,9 +2,17 @@ order cgi before respond } +(robots) { + respond /robots.txt <<EOF + Hey robots :) + EOF 200 +} + http://localhost:8080 { root * public + import robots + # API server cgi /api/* comments/zig-out/bin/comments { env NOTIFICATION_ADDRESS=martin@mfashby.net SMTP_SERVER=mail.mfashby.net:587 SMTP_USERNAME=comments@mfashby.net SMTP_PASSWORD=foobar DATABASE_URL=postgresql://localhost/comments |