mirror of
https://github.com/YunoHost-Apps/zerobin_ynh.git
synced 2024-09-03 18:06:01 +02:00
Update upgrade
This commit is contained in:
parent
4ea3515fbb
commit
2176300994
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@ sudo chmod 700 $final_path/{data,tmp}
|
|||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf
|
||||
sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/zerobin.conf
|
||||
nginxconf=/etc/nginx/conf.d/$domain.d/zerobin.conf
|
||||
sudo cp ../conf/nginx.conf $nginxconf
|
||||
sudo chown root: $nginxconf
|
||||
sudo chmod 600 $nginxconf
|
||||
|
||||
if [ $is_public = "Yes" ];
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue