website/vern.Caddyfile
~ajhalili2006 (vern/ctrl-c) c4a927c624 Add Caddyfile for devbuild on ~vern
I might expand this to include other stuff soon, but in meanwhile, this is
for making proxying the dev server more easier than painfully use an proxy
service for that.

Signed-off-by: ~ajhalili2006 (vern/ctrl-c) <ajhalili2006@vern.cc>
2022-12-14 03:38:32 +00:00

12 lines
296 B
Caddyfile

{
admin off
auto_https off
order respond before reverse_proxy
#email ${USER}@vern.cc
default_bind unix//home/{$USER}/.webserver.sock
}
http://preview-ajhalili2006.vern.cc {
# use an random port here to avoid port collision hellscape
reverse_proxy * localhost:18034
}