From ff2fd9a9675805d5d0a5ab8c8177b53b64c93785 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 13 Aug 2024 09:46:29 +0200 Subject: [PATCH] readd a removed fix --- scripts/change_url | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index e31215c..fbf2ec3 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -95,6 +95,9 @@ fi #================================================= ynh_script_progression --message="Reloading NGINX web server..." +# Temporary fix for the API permission (workaround for https://github.com/YunoHost/issues/issues/2294 ) +ynh_permission_url --permission="api" --url="re:$new_domain\/.well-known\/.*" --auth_header="false" --clear_urls + ynh_systemd_action --service_name=nginx --action=reload #=================================================