From 1338c42420bc5ae9a0adc961ac5f4e6881035f81 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Mon, 9 Aug 2021 17:37:13 -0800 Subject: [PATCH] fix caddy configuration --- Caddyfile | 14 +++++++------- docker-compose.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Caddyfile b/Caddyfile index 92dad003..97c325af 100644 --- a/Caddyfile +++ b/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 + # } } diff --git a/docker-compose.yml b/docker-compose.yml index 97695def..73f653c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: