mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 12:05:21 +02:00
* update router * update caddy file * setup depends in docker-fole * make changes for serving on subpath * set dev config * fix router signups * consolidate links * backup-functionality to dashboard * new user card * consolidate theme into profile * fix theme tests * fix pg tests * fix pg tests * remove unused import * mobile margin Co-authored-by: hay-kot <hay-kot@pm.me>
27 lines
No EOL
416 B
Caddyfile
27 lines
No EOL
416 B
Caddyfile
{
|
|
auto_https off
|
|
admin off
|
|
}
|
|
|
|
:80 {
|
|
@proxied path /api/* /docs /openapi.json
|
|
|
|
encode gzip zstd
|
|
uri strip_suffix /
|
|
|
|
# Handles Recipe Images / Assets
|
|
handle_path /api/media/recipes/* {
|
|
root * /app/data/recipes/
|
|
file_server
|
|
}
|
|
|
|
handle @proxied {
|
|
reverse_proxy http://127.0.0.1:9000
|
|
}
|
|
|
|
handle {
|
|
root * /app/dist
|
|
try_files {path}.html {path} /index.html
|
|
file_server
|
|
}
|
|
} |