mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-06-26 10:30:46 +00:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
e06b1e4df1 | |||
0d2e4c3ee6 | |||
1f534f7bc6 | |||
149f06c3b3 | |||
99d72cc005 | |||
46d850193d | |||
9eae441352 | |||
b0ce745a1b | |||
fe3a5dc54f |
@ -53,8 +53,8 @@ if [[ ! -d "${NGINX_TARBALL%.tar.gz}" ]]; then
|
||||
fi
|
||||
|
||||
if [[ ! -d "${PCRE_TARBALL%.tar.gz}" ]]; then
|
||||
echo "-----> Download and unzip pcre ${PCRE_VERSION} via ftp"
|
||||
curl -sSL "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}"
|
||||
echo "-----> Download and unzip pcre ${PCRE_VERSION} via http"
|
||||
curl -sSL "https://ftp.pcre.org/pub/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}"
|
||||
tar xzf "${PCRE_TARBALL}" && rm -f "${PCRE_TARBALL}"
|
||||
fi
|
||||
|
||||
@ -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 \
|
||||
@ -101,7 +100,6 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
|
||||
--without-http_map_module \
|
||||
--without-http_split_clients_module \
|
||||
--without-http_referer_module \
|
||||
--without-http_proxy_module \
|
||||
--without-http_fastcgi_module \
|
||||
--without-http_uwsgi_module \
|
||||
--without-http_scgi_module \
|
||||
@ -113,7 +111,8 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
|
||||
--without-http_upstream_keepalive_module \
|
||||
--without-mail_pop3_module \
|
||||
--without-mail_imap_module \
|
||||
--without-mail_smtp_module
|
||||
--without-mail_smtp_module \
|
||||
--with-http_realip_module
|
||||
|
||||
sed -i "/CFLAGS/s/ \-O //g" objs/Makefile
|
||||
|
||||
|
@ -10,6 +10,7 @@ events {
|
||||
http {
|
||||
types_hash_max_size 2048;
|
||||
include mime.types;
|
||||
charset UTF-8;
|
||||
server {
|
||||
listen {{ $.PORT }};
|
||||
server_name _;
|
||||
|
Reference in New Issue
Block a user