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:
parent
d87789ffa5
commit
aa44568e7b
2 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
location __PATH__ {
|
||||
alias __FINALPATH__;
|
||||
alias __FINALPATH__/;
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue