1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mineweb_ynh.git synced 2024-09-03 19:45:54 +02:00
This commit is contained in:
liberodark 2019-01-07 17:22:55 +01:00
parent e0fd23860c
commit 09616f37e8
2 changed files with 7 additions and 1 deletions

View file

@ -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;
}

View file

@ -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
#=================================================