From f2c87309f1c304eae4adb76fa269b81f79694479 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 28 Jul 2021 21:40:29 +0200 Subject: [PATCH] Delete Caddyfile2 --- mealie/rootfs/app/Caddyfile2 | 67 ------------------------------------ 1 file changed, 67 deletions(-) delete mode 100644 mealie/rootfs/app/Caddyfile2 diff --git a/mealie/rootfs/app/Caddyfile2 b/mealie/rootfs/app/Caddyfile2 deleted file mode 100644 index 978e662ec..000000000 --- a/mealie/rootfs/app/Caddyfile2 +++ /dev/null @@ -1,67 +0,0 @@ -{ - auto_https off - admin off -} - -:8099 { - @proxied path /api/* /docs /openapi.json - - @static { - file - path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp - } - - encode gzip zstd - - # Handles Recipe Images / Assets - handle_path /api/media/recipes/* { - header @static Cache-Control max-age=31536000 - header X-Frame-Options "SAMEORIGIN" - root * /app/data/recipes/ - file_server - } - - handle @proxied { - uri strip_suffix / - header X-Frame-Options "SAMEORIGIN" - reverse_proxy http://127.0.0.1:9000 - } - - handle { - header @static Cache-Control max-age=31536000 - root * /app/dist - header X-Frame-Options "SAMEORIGIN" - try_files {path}.html {path} / - file_server - } -} - -:80 { - @proxied path /api/* /docs /openapi.json - - @static { - file - path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp - } - - encode gzip zstd - - # Handles Recipe Images / Assets - handle_path /api/media/recipes/* { - header @static Cache-Control max-age=31536000 - root * /app/data/recipes/ - file_server - } - - handle @proxied { - uri strip_suffix / - 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 - } -}