mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-10 20:35:14 -05:00
fix caddy configuration
This commit is contained in:
14
Caddyfile
14
Caddyfile
@@ -22,13 +22,13 @@
|
||||
|
||||
handle @proxied {
|
||||
uri strip_suffix /
|
||||
reverse_proxy http://mealie-api
|
||||
reverse_proxy http://127.0.0.1:9000
|
||||
}
|
||||
|
||||
handle {
|
||||
header @static Cache-Control max-age=31536000
|
||||
root * /app/dist
|
||||
try_files {path}.html {path} /
|
||||
file_server
|
||||
}
|
||||
# handle {
|
||||
# header @static Cache-Control max-age=31536000
|
||||
# root * /app/dist
|
||||
# try_files {path}.html {path} /
|
||||
# file_server
|
||||
# }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user