diff --git a/check_process b/check_process index cac87a6..51da5d3 100644 --- a/check_process +++ b/check_process @@ -1,4 +1,4 @@ -;; Nom du test +;; flarum_ynh package check # Commentaire ignoré # ; pre-install # echo -n "Here your commands to execute in the container" @@ -8,7 +8,7 @@ path="/path" (PATH) admin="john" (USER) title="Test flarum" -# language="en" + language="en" is_public=1 (PUBLIC|public=1|private=0) ; Checks pkg_linter=1 @@ -18,7 +18,7 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=d059d5e8439fed02e86b355518351b9dcd43e6d8 + upgrade=1 from_commit=9c02e9953994b9c99c199346c839209d07e88626 backup_restore=1 multi_instance=1 incorrect_path=1 diff --git a/conf/nginx.conf b/conf/nginx.conf index 7712b74..4eaa8b2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,8 +10,8 @@ location ^~ __PATH__ { # Bug in Nginx with locations and aliases (see http://stackoverflow.com/a/35102259 ) location __LOCATION_HACK__/ { try_files $uri $uri/ __PATH_HACK__/index.php?$query_string; } - location __LOCATION_HACK__/api/ { try_files $uri $uri/ __PATH_HACK__/api.php?$query_string; } - location __LOCATION_HACK__/admin/ { try_files $uri $uri/ __PATH_HACK__/admin.php?$query_string; } + location __LOCATION_HACK__/api { try_files $uri $uri/ __PATH_HACK__/api.php?$query_string; } + location __LOCATION_HACK__/admin { try_files $uri $uri/ __PATH_HACK__/admin.php?$query_string; } location __LOCATION_HACK__/flarum/ { deny all;