added caddy

This commit is contained in:
2024-04-20 16:43:11 +07:00
parent d12777a747
commit 6bd525f6b8
3 changed files with 26 additions and 0 deletions

11
caddy/Caddyfile Normal file
View File

@@ -0,0 +1,11 @@
{$CADDY_BASE_HOST} {
encode zstd gzip
reverse_proxy http://frontend:3000
handle_path /api/* {
reverse_proxy http://backend:3000
}
handle_path /profileImages/* {
rewrite * /sorvor{path}
reverse_proxy http://minio:9000
}
}