
gzip_types directive는 기본적으로 text/*를 포함합니다. 따라서 text/plain을 포함하는 방법은 별도로 지정할 필요가 없습니다.
만약 text/plain을 포함하는 다른 text/* MIME 유형을 압축하고 싶다면, 다음과 같이 설정할 수 있습니다.
#hostingforum.kr
bash
gzip_types text/plain text/css text/javascript application/javascript application/json;
이 설정으로 text/plain, text/css, text/javascript, application/javascript, application/json MIME 유형을 압축할 수 있습니다.
2025-07-27 08:16