mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
parent
808760abb0
commit
1b07f3cb73
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
;; Nom du test
|
;; flarum_ynh package check
|
||||||
# Commentaire ignoré
|
# Commentaire ignoré
|
||||||
# ; pre-install
|
# ; pre-install
|
||||||
# echo -n "Here your commands to execute in the container"
|
# echo -n "Here your commands to execute in the container"
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
path="/path" (PATH)
|
path="/path" (PATH)
|
||||||
admin="john" (USER)
|
admin="john" (USER)
|
||||||
title="Test flarum"
|
title="Test flarum"
|
||||||
# language="en"
|
language="en"
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1 (PUBLIC|public=1|private=0)
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=1 from_commit=d059d5e8439fed02e86b355518351b9dcd43e6d8
|
upgrade=1 from_commit=9c02e9953994b9c99c199346c839209d07e88626
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
incorrect_path=1
|
||||||
|
|
|
@ -10,8 +10,8 @@ location ^~ __PATH__ {
|
||||||
|
|
||||||
# Bug in Nginx with locations and aliases (see http://stackoverflow.com/a/35102259 )
|
# 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__/ { 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__/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__/admin { try_files $uri $uri/ __PATH_HACK__/admin.php?$query_string; }
|
||||||
|
|
||||||
location __LOCATION_HACK__/flarum/ {
|
location __LOCATION_HACK__/flarum/ {
|
||||||
deny all;
|
deny all;
|
||||||
|
|
Loading…
Reference in a new issue