mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 00:13:40 +00:00
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:
parent
239eedbe7c
commit
c4a927c624
1 changed files with 12 additions and 0 deletions
12
vern.Caddyfile
Normal file
12
vern.Caddyfile
Normal 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
|
||||
}
|
Loading…
Reference in a new issue