From a61f23786f17a73f9e3c208a4f3893a17582702d Mon Sep 17 00:00:00 2001 From: hay-kot Date: Thu, 29 Apr 2021 10:16:37 -0800 Subject: [PATCH] serve images wiith caddy --- Caddyfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Caddyfile b/Caddyfile index 19c18a3b0..ec71c345b 100644 --- a/Caddyfile +++ b/Caddyfile @@ -10,6 +10,11 @@ encode gzip uri strip_suffix / + handle_path /api/recipes/*/image/* { + root * /app/data/img/ + file_server + } + handle @proxied { reverse_proxy http://127.0.0.1:9000 }