From 94ba4acb47a8fcd67a618692fb10b823ab846fd6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 11 Feb 2021 14:34:40 +0100 Subject: [PATCH] Fix --- check_process | 1 - conf/nginx.conf | 6 +++++- manifest.json | 2 +- pull_request_template.md | 4 +--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/check_process b/check_process index 16710ab..d445442 100755 --- a/check_process +++ b/check_process @@ -27,4 +27,3 @@ Notification=none ; commit=CommitHash name=Name and date of the commit. manifest_arg=domain=DOMAIN&path=PATH&is_public=1& - diff --git a/conf/nginx.conf b/conf/nginx.conf index 242eb70..bd41f63 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { index index.php ; client_max_body_size 500M; - try_files $uri $uri/ __PATH__/index.php; + try_files $uri $uri/ @__NAME__; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; @@ -27,3 +27,7 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +location @__NAME__ { + rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last; +} diff --git a/manifest.json b/manifest.json index 8f4e8d5..252f2d3 100755 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 3.8.1" + "yunohost": ">= 4.0.0" }, "multi_instance": true, "services": [ diff --git a/pull_request_template.md b/pull_request_template.md index f7a36a9..6c28fc5 100755 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -13,6 +13,4 @@ ## Package_check results --- -*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results* - -[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/castopod_ynh%20PR-NUM-%20(ericgaspar)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/castopod_ynh%20PR-NUM-%20(ericgaspar)/) +* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"*