Caddyfile 357 B

123456789101112131415161718
  1. {
  2. # Debug: enable request logging
  3. admin off
  4. }
  5. # Catch-all: Synology forwards decrypted HTTP traffic to this port.
  6. # Route based on path regardless of Host header.
  7. :8080 {
  8. @api path /api/*
  9. handle @api {
  10. reverse_proxy api:3001 {
  11. header_down -Origin
  12. }
  13. }
  14. handle {
  15. reverse_proxy frontend:3000
  16. }
  17. }