1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/privatebin_ynh.git synced 2024-09-03 20:15:56 +02:00

[fix] Delete lines for php5-fpm config restore

This commit is contained in:
magikcypress 2017-06-03 16:37:08 +02:00
parent d87789ffa5
commit aa44568e7b
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A
2 changed files with 3 additions and 6 deletions

View file

@ -1,5 +1,5 @@
location __PATH__ {
alias __FINALPATH__;
alias __FINALPATH__/;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}

View file

@ -70,12 +70,9 @@ sudo chmod -R 700 $final_path/{data,tmp}
# Restore nginx configuration files
sudo cp -a ./conf/nginx.conf "${nginx_conf}"
sudo cp -a ./php-fpm.conf "$phpfpm_conf"
sudo cp -a ./php-fpm.ini "$phpfpm_ini"
# Restore php-fpm configuration files
sudo cp -a ./conf/php-fpm.conf "${phpfpm_conf}"
sudo cp -a ./conf/php-fpm.ini "${phpfpm_ini}"
sudo cp -a ./php-fpm.conf "${phpfpm_conf}"
sudo cp -a ./php-fpm.ini "${phpfpm_ini}"
# Set ssowat config
if [ "$is_public" = "Yes" ];