1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-25 02:23:05 +00:00

Merge pull request #41 from dokku/40-charset

feat: use charset utf8 by default
This commit is contained in:
Jose Diaz-Gonzalez 2020-06-11 15:33:44 -04:00 committed by GitHub
commit e06b1e4df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,6 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
--with-zlib=../zlib-${ZLIB_VERSION} \ --with-zlib=../zlib-${ZLIB_VERSION} \
--with-pcre \ --with-pcre \
--with-cc-opt="-O2 -static -static-libgcc" \ --with-cc-opt="-O2 -static -static-libgcc" \
--without-http_charset_module \
--without-http_ssi_module \ --without-http_ssi_module \
--without-http_userid_module \ --without-http_userid_module \
--without-http_access_module \ --without-http_access_module \

View File

@ -10,6 +10,7 @@ events {
http { http {
types_hash_max_size 2048; types_hash_max_size 2048;
include mime.types; include mime.types;
charset UTF-8;
server { server {
listen {{ $.PORT }}; listen {{ $.PORT }};
server_name _; server_name _;