mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
no php-fpm!
This commit is contained in:
parent
b870da0d97
commit
36fc504a13
3 changed files with 10 additions and 21 deletions
|
@ -11,17 +11,16 @@ location __PATH__/ {
|
||||||
### PHP configuration
|
### PHP configuration
|
||||||
index www/index.php;
|
index www/index.php;
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
# try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
# location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
# fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;
|
# fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;
|
||||||
|
# fastcgi_index index.php;
|
||||||
fastcgi_index index.php;
|
# include fastcgi_params;
|
||||||
include fastcgi_params;
|
# fastcgi_param REMOTE_USER $remote_user;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
# fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
# }
|
||||||
}
|
|
||||||
### End of PHP configuration part
|
### End of PHP configuration part
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
|
|
|
@ -136,8 +136,6 @@ chmod 644 /etc/cron.d/$app
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated nginx config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
ynh_add_fpm_config
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -61,14 +61,6 @@ ynh_print_info --message="Removing nginx web server configuration"
|
||||||
# Remove the dedicated nginx config
|
# Remove the dedicated nginx config
|
||||||
ynh_remove_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
|
# SPECIFIC REMOVE
|
||||||
|
|
Loading…
Reference in a new issue