mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
serve images wiith caddy
This commit is contained in:
parent
5317217570
commit
a61f23786f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue