mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
correct wrong alias in nginx.conf
This commit is contained in:
parent
2b43b6b3d0
commit
bf34f4800e
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ if [[ $?==0 ]]; then
|
|||
#setting conf file not world-readable (dude, there is a plain-text password !)
|
||||
sudo chmod o-r $final_path/conf.php
|
||||
|
||||
#change nginx.conf as per https://forum.yunohost.org/t/need-help-on-nginx-conf-cannot-access-resources/6342
|
||||
ynh_replace_string "alias $finalpath/www/ ;" "alias $finalpath/ ;" /etc/yunohost/$domain.d/$app.conf
|
||||
ynh_replace_string "index index.php;" "index www/ndex.php;" /etc/yunohost/$domain.d/$app.conf
|
||||
|
||||
fi
|
||||
|
||||
#mysqlpwd setting was implemented in ynh2 - check if saved and if not implement
|
||||
|
|
Loading…
Reference in a new issue