Commit 160a07ca authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated nginx to 1.17.1

parent 234c2a2e
all: nginx-service all: nginx-service
tar xf nginx-1.15.2.tar.gz tar xf nginx-1.17.1.tar.gz
cd nginx-1.15.2 && ./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 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
$(MAKE) -C nginx-1.15.2 $(MAKE) -C nginx-1.17.1
$(MAKE) -C nginx-1.15.2 install $(MAKE) -C nginx-1.17.1 install
@echo "$$NGINX_SERVICE" > /lib/systemd/system/nginx.service @echo "$$NGINX_SERVICE" > /lib/systemd/system/nginx.service
systemctl enable nginx.service systemctl enable nginx.service
mv /usr/html /srv/www mv /usr/html /srv/www
...@@ -16,7 +16,7 @@ all: nginx-service ...@@ -16,7 +16,7 @@ all: nginx-service
rm /etc/nginx/scgi_params.default rm /etc/nginx/scgi_params.default
rm /etc/nginx/uwsgi_params rm /etc/nginx/uwsgi_params
rm /etc/nginx/uwsgi_params.default rm /etc/nginx/uwsgi_params.default
rm -rf nginx-1.15.2 rm -rf nginx-1.17.1
nginx-service: nginx-service:
define NGINX_SERVICE define NGINX_SERVICE
......
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