From b0ae8dc0fe5dce413a7b3e248911d021e707d627 Mon Sep 17 00:00:00 2001 From: Emilien Devos <121870973+edevosc2c@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:06:23 +0200 Subject: [PATCH] switch to gateway + add caddy binary to gitignore --- .gitignore | 1 + resources/caddy/etc/Caddyfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4c3f0e2..aa5b042 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ # ignore the certs files and Caddy data directory resources/ssl/* resources/caddy/data/* +caddy \ No newline at end of file diff --git a/resources/caddy/etc/Caddyfile b/resources/caddy/etc/Caddyfile index 4380057..ab393b6 100644 --- a/resources/caddy/etc/Caddyfile +++ b/resources/caddy/etc/Caddyfile @@ -43,7 +43,7 @@ } handle { - reverse_proxy proxy:8080 + reverse_proxy gateway:8080 header { Access-Control-Allow-Origin * Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS"