techne/caddy.org
2024-09-20 21:17:26 -05:00

16 lines
298 B
Org Mode

#+title: Caddy
#+setupfile: ../org-templates/page.org
** IP whitelist
#+BEGIN_SRC caddyfile
irc.hyperreal.coffee {
@me {
client_ip 1.2.3.4
}
handle @me {
reverse_proxy localhost:9000
}
respond "You are attempting to access protected resources!" 403
}
#+END_SRC