diff --git a/Caddyfile b/Caddyfile index a78647f..06dbb83 100644 --- a/Caddyfile +++ b/Caddyfile @@ -11,10 +11,19 @@ http://document.hyungi.net { # 명시 Content-Type match — 기본 match 의 text/* 는 text/event-stream 까지 포함해 # SSE(/api/eid/chat)의 첫 ~512B 를 gzip 버퍼링함. SSE 제외, 기존 압축 대상은 보존. + # (응답 매처는 header <필드> <값> 한 쌍씩 — 여러 줄 = OR. 한 줄 다중 값은 파싱 에러) encode { gzip match { - header Content-Type text/html* text/css* text/plain* text/xml* text/javascript* application/json* application/javascript* application/xml* image/svg+xml* + header Content-Type text/html* + header Content-Type text/css* + header Content-Type text/plain* + header Content-Type text/xml* + header Content-Type text/javascript* + header Content-Type application/json* + header Content-Type application/javascript* + header Content-Type application/xml* + header Content-Type image/svg+xml* } }