mirror of
https://github.com/YunoHost-Apps/keeweb_ynh.git
synced 2024-09-03 19:26:33 +02:00
Fix with the new install method
This commit is contained in:
parent
3974578344
commit
96978b0642
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
alias __FINALPATH__/app/;
|
||||
alias __FINALPATH__/;
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
|
|
|
@ -63,7 +63,7 @@ ynh_app_setting_set $app final_path $final_path
|
|||
# To avoid a complete rebuild, I downloaded the gh-pages as explained here: https://github.com/keeweb/keeweb#self-hosting
|
||||
# and put all files in "../sources/extra_files/app/", like that I can assure the version install in YunoHost is the version described in the manifest
|
||||
mkdir -p "$final_path"
|
||||
cp ../sources/extra_files/app/* "$final_path"
|
||||
cp -r ../sources/extra_files/app/* "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
|
@ -75,7 +75,7 @@ ynh_maintenance_mode_ON
|
|||
#=================================================
|
||||
|
||||
mkdir -p "$final_path"
|
||||
cp ../sources/extra_files/app/* "$final_path"
|
||||
cp -r ../sources/extra_files/app/* "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue