mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 08:23:40 +00:00
c4a927c624
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>
12 lines
296 B
Caddyfile
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
|
|
}
|