From 8b38987a2609a2042754cee32cc96b32c36ed274 Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Wed, 30 Nov 2022 12:59:52 +0000 Subject: [PATCH] Fix multi-instance sharing the same location name (fix #)147 --- README.md | 2 +- README_fr.md | 2 +- conf/nginx.conf | 6 +++--- manifest.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 66e6deb..2fb3252 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Kresus is an open-source libre self-hosted personal finance manager. It allows you to safely track your banking history, check your overall balance and know exactly how you are spending money using categories! -**Shipped version:** 0.18.1~ynh9 +**Shipped version:** 0.18.1~ynh10 ## Screenshots diff --git a/README_fr.md b/README_fr.md index c20a927..56477d6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Kresus est un gestionnaire de finances personnelles gratuit et libre qui tourne sur votre serveur. Il récupère automatiquement et quotidiennement toutes vos nouvelles transactions bancaires et vous permet de les catégoriser, étudier via des graphiques, et établir un budget. -**Version incluse :** 0.18.1~ynh9 +**Version incluse :** 0.18.1~ynh10 ## Captures d'écran diff --git a/conf/nginx.conf b/conf/nginx.conf index 023598e..665df9f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ location __PATH__/ { alias __FINALPATH__/build/client/; - try_files $uri $uri/index.html @kresus; + try_files $uri $uri/index.html @__NAME__; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; @@ -11,10 +11,10 @@ location __PATH__/ { location ~ __PATH__/\.(css|js|png|jpe?g|svg|eot|woff2?)$ { more_set_headers 'Cache-Control: max-age=2592000, must-revalidate, public'; gzip_types text/plain text/css application/javascript text/javascript; - try_files $uri $uri/index.html @kresus; + try_files $uri $uri/index.html @__NAME__; } -location @kresus { +location @__NAME__ { client_max_body_size 8M; send_timeout 600; proxy_connect_timeout 600; diff --git a/manifest.json b/manifest.json index 60a4792..463cca9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Personal finance manager", "fr": "Outil personnel de gestion de finances" }, - "version": "0.18.1~ynh9", + "version": "0.18.1~ynh10", "url": "https://framagit.org/kresusapp/kresus", "upstream": { "license": "AGPL-3.0-only",