dev/web: run caddy as user service with Caddyfile watching
1 file changed, 44 insertions(+), 0 deletions(-)
changed files
A user/settings/development/web/Caddyfile
@@ -0,0 +1,44 @@ +{ + local_certs + skip_install_trust +} + +alin.localhost, alin.test, alanpearce.test, alanpearce.localhost { + reverse_proxy http://localhost:8080 +} + +auth.localhost { + reverse_proxy http://localhost:8082 +} + +chat.localhost { + reverse_proxy http://localhost:9090 +} + +elgit.localhost { + reverse_proxy http://localhost:5555 +} + +hugo.localhost { + reverse_proxy http://localhost:1313 +} + +llama.localhost, http://llama.localhost { + reverse_proxy http://localhost:11343 +} + +searchix.localhost { + handle_errors { + rewrite * /error.html + templates + file_server + } + handle { + reverse_proxy http://localhost:3000 + } +} + +xhain.localhost { + root * /Users/alin/projects/github.com/xHain-hackspace/xhain-website/public/ + file_server +}