Files
sorvor-back/caddy/Caddyfile
Thanu Poptiphueng 948870852e
All checks were successful
backend-action / build-image (push) Successful in 23s
added logs to caddy
2024-04-22 10:45:43 +07:00

16 lines
299 B
Caddyfile

{$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
}
log {
output file /var/log/caddy/access.log
}
}