Compare commits

...

2 Commits

3 changed files with 11 additions and 3 deletions

1
conf/extra_php-fpm.conf Normal file
View File

@ -0,0 +1 @@
; Additional 'php.ini' parameters for this YunoHost package/application

View File

@ -6,7 +6,14 @@ location __PATH__/ {
index index.html;
try_files $uri /index.html;
try_files $uri index.html;
location ~ \.php {
fastcgi_param QUERY_STRING $query_string;
fastcgi_param SCRIPT_NAME $script_name;
# include fastcgi_params;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
}
# Include SSOWAT user panel
include conf.d/yunohost_panel.conf.inc;

View File

@ -11,8 +11,8 @@ ynh_remove_nginx_config
#=================================================
# REMOVE THE NGINX CONFIGURATION
# REMOVE SUDOERS CONFIGURATION
#=================================================
ynh_script_progression --message="Removing nginx web server configuration..." --weight=1
ynh_script_progression --message="Removing sudoers configuration..." --weight=1
rm /etc/sudoers.d/$app