Browse Source

Update nginx to v1.12.0 (#2743)

1.9.9 is too old
Should be no problems with php and other lenguajes.
Tested with openresty, that is fully integrated with nginx.
Work in progress
Joan Miquel 8 years ago
parent
commit
bfb660fbcb
1 changed files with 4 additions and 3 deletions
  1. 4 3
      toolset/setup/linux/webservers/nginx.sh

+ 4 - 3
toolset/setup/linux/webservers/nginx.sh

@@ -2,11 +2,12 @@
 
 fw_installed nginx && return 0
 
+VERSION="1.12.0"
 NGINX_HOME=$IROOT/nginx
 
-fw_get -O http://nginx.org/download/nginx-1.9.9.tar.gz
-fw_untar nginx-1.9.9.tar.gz
-cd nginx-1.9.9
+fw_get -O http://nginx.org/download/nginx-${VERSION}.tar.gz
+fw_untar nginx-${VERSION}.tar.gz
+cd nginx-${VERSION}
 
 # There is no --quiet flag that I could find...
 echo "Configuring nginx..."