fix caddy configuration

This commit is contained in:
hay-kot 2021-08-09 17:37:13 -08:00
parent a0efcb38a0
commit 1338c42420
2 changed files with 9 additions and 9 deletions

View file

@ -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
# }
}

View file

@ -10,10 +10,10 @@ services:
ports:
- 9091:3000
environment:
- GLOBAL_MIDDLEWARE=null
- GLOBAL_MIDDLEWARE=auth
- SUB_PATH=/mealie/
- ALLOW_SIGNUP=true
- API_URL=http://mealie-api:9000
- API_URL=http://mealie-api:80
mealie:
container_name: mealie-api
build: