Commit 29307a97 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We need to have ngx_http_realip module

parent 1d5888f7
all: nginx-service nginx-logrotate
tar xf nginx-1.17.1.tar.gz
cd nginx-1.17.1 && ./configure --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/run/nginx.pid --lock-path=/var/log/nginx.lock --http-client-body-temp-path=/tmp/nginx-client-body --http-proxy-temp-path=/tmp/nginx-proxy-temp --without-http_fastcgi_module --without-http_uwsgi_module --without-http_scgi_module --with-http_ssl_module --with-http_v2_module --with-http_stub_status_module
cd nginx-1.17.1 && ./configure --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/run/nginx.pid --lock-path=/var/log/nginx.lock --http-client-body-temp-path=/tmp/nginx-client-body --http-proxy-temp-path=/tmp/nginx-proxy-temp --without-http_fastcgi_module --without-http_uwsgi_module --without-http_scgi_module --with-http_ssl_module --with-http_v2_module --with-http_stub_status_module --with-http_realip_module
$(MAKE) -C nginx-1.17.1
$(MAKE) -C nginx-1.17.1 install
@echo "$$NGINX_LOGROTATE" > /etc/logrotate.d/nginx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment