From 7377945c45f81b19b8cc5473a94d87a0b780852b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 19 Sep 2020 19:22:04 +0200 Subject: [PATCH 1/2] Add __PHPVERSION__ to NGINX --- conf/nginx.conf | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index cdbdb21..24409ba 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,7 +18,7 @@ location __PATH__/ { location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; + fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; diff --git a/manifest.json b/manifest.json index 36a85cf..db5ef51 100644 --- a/manifest.json +++ b/manifest.json @@ -2,11 +2,11 @@ "name": "H5AI", "id": "h5ai", "packaging_format": 1, - "version": "0.29.2~ynh1", "description": { "en": "A modern HTTP web server index for NGINX.", "fr": "Un serveur moderne d'index pour NGINX." }, + "version": "0.29.2~ynh2", "url": "https://larsjung.de/h5ai/", "license": "MIT", "maintainer": { From ecd0235fff7f00050017f8664ad962e3c9f48fc0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 19 Sep 2020 19:23:48 +0200 Subject: [PATCH 2/2] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index db5ef51..7728111 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A modern HTTP web server index for NGINX.", "fr": "Un serveur moderne d'index pour NGINX." }, - "version": "0.29.2~ynh2", + "version": "0.29.2~ynh2", "url": "https://larsjung.de/h5ai/", "license": "MIT", "maintainer": {