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>
This commit is contained in:
~ajhalili2006 (vern/ctrl-c) 2022-12-14 03:38:32 +00:00
parent 239eedbe7c
commit c4a927c624

12
vern.Caddyfile Normal file
View file

@ -0,0 +1,12 @@
{
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
}