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:
commit
e06b1e4df1
@ -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 \
|
||||||
|
@ -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 _;
|
||||||
|
Loading…
Reference in New Issue
Block a user