1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-29 03:43:05 +00:00

Merge pull request #39 from pawurb/real_ip_module

Add real ip and proxy module
This commit is contained in:
Jose Diaz-Gonzalez 2020-04-13 12:36:17 -04:00 committed by GitHub
commit 149f06c3b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,6 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
--without-http_map_module \ --without-http_map_module \
--without-http_split_clients_module \ --without-http_split_clients_module \
--without-http_referer_module \ --without-http_referer_module \
--without-http_proxy_module \
--without-http_fastcgi_module \ --without-http_fastcgi_module \
--without-http_uwsgi_module \ --without-http_uwsgi_module \
--without-http_scgi_module \ --without-http_scgi_module \
@ -113,7 +112,8 @@ if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
--without-http_upstream_keepalive_module \ --without-http_upstream_keepalive_module \
--without-mail_pop3_module \ --without-mail_pop3_module \
--without-mail_imap_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 sed -i "/CFLAGS/s/ \-O //g" objs/Makefile