mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix caddy configuration
This commit is contained in:
parent
a0efcb38a0
commit
1338c42420
14
Caddyfile
14
Caddyfile
@ -22,13 +22,13 @@
|
|||||||
|
|
||||||
handle @proxied {
|
handle @proxied {
|
||||||
uri strip_suffix /
|
uri strip_suffix /
|
||||||
reverse_proxy http://mealie-api
|
reverse_proxy http://127.0.0.1:9000
|
||||||
}
|
}
|
||||||
|
|
||||||
handle {
|
# handle {
|
||||||
header @static Cache-Control max-age=31536000
|
# header @static Cache-Control max-age=31536000
|
||||||
root * /app/dist
|
# root * /app/dist
|
||||||
try_files {path}.html {path} /
|
# try_files {path}.html {path} /
|
||||||
file_server
|
# file_server
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
@ -10,10 +10,10 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 9091:3000
|
- 9091:3000
|
||||||
environment:
|
environment:
|
||||||
- GLOBAL_MIDDLEWARE=null
|
- GLOBAL_MIDDLEWARE=auth
|
||||||
- SUB_PATH=/mealie/
|
- SUB_PATH=/mealie/
|
||||||
- ALLOW_SIGNUP=true
|
- ALLOW_SIGNUP=true
|
||||||
- API_URL=http://mealie-api:9000
|
- API_URL=http://mealie-api:80
|
||||||
mealie:
|
mealie:
|
||||||
container_name: mealie-api
|
container_name: mealie-api
|
||||||
build:
|
build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user