add Caddyfile to docs

This commit is contained in:
Sam 2023-05-27 23:46:12 +02:00
parent 1f138bee16
commit 7435604dab
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 18 additions and 6 deletions

12
docs/Caddyfile Normal file
View file

@ -0,0 +1,12 @@
http://pronouns.local {
handle /media* {
uri path_regexp ^/media /pronouns.cc
reverse_proxy localhost:9000
}
handle_path /api* {
reverse_proxy localhost:8080
}
reverse_proxy localhost:5173
}