serve images wiith caddy

This commit is contained in:
hay-kot 2021-04-29 10:16:37 -08:00
commit a61f23786f

View file

@ -10,6 +10,11 @@
encode gzip encode gzip
uri strip_suffix / uri strip_suffix /
handle_path /api/recipes/*/image/* {
root * /app/data/img/
file_server
}
handle @proxied { handle @proxied {
reverse_proxy http://127.0.0.1:9000 reverse_proxy http://127.0.0.1:9000
} }