From e755fd93d0d961bcda66e564deed80680f7e6351 Mon Sep 17 00:00:00 2001 From: Delivator Date: Sun, 26 Jul 2020 15:14:06 +0200 Subject: [PATCH] Fixed caddy not exposing Access-Control-Expose-Headers (#306) --- docker/caddy/Caddyfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/caddy/Caddyfile b/docker/caddy/Caddyfile index e1868172..e438b1ce 100644 --- a/docker/caddy/Caddyfile +++ b/docker/caddy/Caddyfile @@ -56,12 +56,12 @@ } reverse_proxy @skylink nginx:80 { header_up User-Agent Sia-Agent - header_up Access-Control-Expose-Headers skynet-file-metadata + header_down Access-Control-Expose-Headers skynet-file-metadata header_down Access-Control-Allow-Origin * } reverse_proxy @skylink_file nginx:80 { header_up User-Agent Sia-Agent - header_up Access-Control-Expose-Headers skynet-file-metadata + header_down Access-Control-Expose-Headers skynet-file-metadata header_down Access-Control-Allow-Origin * } reverse_proxy /skynet/skyfile* nginx:80 {