diff --git a/conf/nginx.conf b/conf/nginx.conf index 6853de3..1f10a7c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,17 +11,16 @@ location __PATH__/ { ### PHP configuration index www/index.php; - try_files $uri $uri/ index.php; - location ~ [^/]\.php(/|$) { - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock; - - fastcgi_index index.php; - include fastcgi_params; - fastcgi_param REMOTE_USER $remote_user; - fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param SCRIPT_FILENAME $request_filename; - } +# try_files $uri $uri/ index.php; +# location ~ [^/]\.php(/|$) { +# fastcgi_split_path_info ^(.+?\.php)(/.*)$; +# fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock; +# fastcgi_index index.php; +# include fastcgi_params; +# fastcgi_param REMOTE_USER $remote_user; +# fastcgi_param PATH_INFO $fastcgi_path_info; +# fastcgi_param SCRIPT_FILENAME $request_filename; +# } ### End of PHP configuration part # Include SSOWAT user panel. diff --git a/scripts/install b/scripts/install index a0cec7d..abe9217 100644 --- a/scripts/install +++ b/scripts/install @@ -136,8 +136,6 @@ chmod 644 /etc/cron.d/$app # Create a dedicated nginx config ynh_add_nginx_config -ynh_add_fpm_config - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 57fe260..c9b82b8 100644 --- a/scripts/remove +++ b/scripts/remove @@ -61,14 +61,6 @@ ynh_print_info --message="Removing nginx web server configuration" # Remove the dedicated nginx config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= -ynh_print_info --message="Removing php-fpm configuration" - -# Remove the dedicated php-fpm config -ynh_remove_fpm_config - #================================================= # SPECIFIC REMOVE