From 09616f37e8f236b26d76942dbd39083b80d7c7f2 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 7 Jan 2019 17:22:55 +0100 Subject: [PATCH] fixe --- conf/nginx.conf | 2 +- scripts/install | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 379d2fb..db7f4ac 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location ~ \.php$ { include /etc/nginx/fastcgi_params; try_files $uri =404; - fastcgi_pass 127.0.0.1:9000; + fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } \ No newline at end of file diff --git a/scripts/install b/scripts/install index 652f12e..a50603e 100644 --- a/scripts/install +++ b/scripts/install @@ -66,6 +66,12 @@ ynh_app_setting_set $app domain $domain ynh_app_setting_set $app path $path_url ynh_app_setting_set $app is_public $is_public +#============================================== +# INSTALL DEPS +#============================================== + +ynh_package_install php7.0-zip + #================================================= # FIND AND OPEN A PORT #=================================================