From 1f534f7bc6a33792ec16c6da6f94dde22c806489 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Jun 2020 15:31:47 -0400 Subject: [PATCH 1/2] feat: enable the charset module by default --- bin/compile | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/compile b/bin/compile index 1400e17..d1f5795 100755 --- a/bin/compile +++ b/bin/compile @@ -91,7 +91,6 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then --with-zlib=../zlib-${ZLIB_VERSION} \ --with-pcre \ --with-cc-opt="-O2 -static -static-libgcc" \ - --without-http_charset_module \ --without-http_ssi_module \ --without-http_userid_module \ --without-http_access_module \ From 0d2e4c3ee65324c8064e9c546d130210cdb83e7f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Jun 2020 15:33:31 -0400 Subject: [PATCH 2/2] feat: use charset utf-8 by default Closes #40 --- conf/app-nginx.conf.sigil | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/app-nginx.conf.sigil b/conf/app-nginx.conf.sigil index 30f48cd..ccf5136 100644 --- a/conf/app-nginx.conf.sigil +++ b/conf/app-nginx.conf.sigil @@ -10,6 +10,7 @@ events { http { types_hash_max_size 2048; include mime.types; + charset UTF-8; server { listen {{ $.PORT }}; server_name _;