1
0
Fork 0
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:
Kayou 2019-02-26 23:58:19 +01:00
parent 3974578344
commit 96978b0642
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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

View file

@ -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