Browse Source

Update ngx-php7 (#4343)

* Update ngx-php7
v0.0.15
PHP 7.3
Nginx 1.15.8

* Delete server_name
One check less
Joan Miquel 6 years ago
parent
commit
e3f13e1f69
2 changed files with 3 additions and 4 deletions
  1. 0 1
      frameworks/PHP/php/deploy/nginx_php.conf
  2. 3 3
      frameworks/PHP/php/php-ngx.dockerfile

+ 0 - 1
frameworks/PHP/php/deploy/nginx_php.conf

@@ -23,7 +23,6 @@ http {
 
     server {
         listen       8080 reuseport;
-        server_name  localhost;
 
         root /;
         index  index.html;

+ 3 - 3
frameworks/PHP/php/php-ngx.dockerfile

@@ -7,13 +7,13 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null
 RUN apt-get update -yqq  > /dev/null
 RUN apt-get install -yqq wget git unzip libxml2-dev cmake make \
                     zlibc zlib1g zlib1g-dev libpcre3 libpcre3-dev libargon2-0-dev libsodium-dev \
-                    php7.2 php7.2-common php7.2-dev libphp7.2-embed php7.2-mysql nginx > /dev/null
+                    php7.3 php7.3-common php7.3-dev libphp7.3-embed php7.3-mysql nginx > /dev/null
 
 ADD ./ ./
 
-ENV NGINX_VERSION=1.14.2
+ENV NGINX_VERSION=1.15.8
 
-RUN git clone -b v0.0.14 --single-branch --depth 1 https://github.com/rryqszq4/ngx_php7.git > /dev/null
+RUN git clone -b v0.0.15 --single-branch --depth 1 https://github.com/rryqszq4/ngx_php7.git > /dev/null
 
 RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
     tar -zxf nginx-${NGINX_VERSION}.tar.gz && \