mirror of
https://github.com/YunoHost-Apps/leantime_ynh.git
synced 2024-09-03 19:36:04 +02:00
fix
This commit is contained in:
parent
10990d5a6b
commit
115c713b4c
3 changed files with 6 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
## Minimum Configuration, these are required for installation
|
||||
|
||||
LEAN_APP_URL = '__DOMAIN__' # Base URL, only needed for subfolder installation
|
||||
LEAN_APP_URL_ROOT = '__PATH__' # Base of application withotu trailing slash (used for cookies), e.g, /leantime
|
||||
LEAN_APP_URL_ROOT = '' # Base of application withotu trailing slash (used for cookies), e.g, /leantime
|
||||
|
||||
LEAN_DEBUG = 1 # Debug flag
|
||||
|
||||
|
|
|
@ -6,16 +6,14 @@ location __PATH__/ {
|
|||
|
||||
index index.php;
|
||||
|
||||
rewrite ^__PATH__/leantime(/.*)$ __PATH__$1 permanent;
|
||||
rewrite ^__PATH__/?$ __PATH__/index.php?act=dashboard.show last;
|
||||
rewrite ^__PATH__/([^/\.]+)/([^/\.]+)/?$ __PATH__/index.php?act=$1 last;
|
||||
rewrite ^__PATH__/([^/\.]+)/([^/\.]+)/?$ __PATH__/index.php?act=$1.$2 last;
|
||||
rewrite ^__PATH__/([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ __PATH__/index.php?act=$1.$2&id=$3 last;
|
||||
rewrite ^__PATH__(/.*)$ $1 break;
|
||||
rewrite ^/?$ /index.php?act=dashboard.show;
|
||||
rewrite ^/([^/\.]+)/?$ /index.php?act=$1;
|
||||
rewrite ^/([^/\.]+)/([^/\.]+)/?$ /index.php?act=$1.$2;
|
||||
rewrite ^/([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ /index.php?act=$1.$2&id=$3;
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
#try_files $uri $uri/ __PATH__/index.php;
|
||||
#try_files $uri $uri/ /index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
|
@ -29,10 +29,6 @@ ram.runtime = "50M"
|
|||
[install.domain]
|
||||
type = "domain"
|
||||
|
||||
[install.path]
|
||||
type = "path"
|
||||
default = "/leantime"
|
||||
|
||||
[install.init_main_permission]
|
||||
type = "group"
|
||||
default = "visitors"
|
||||
|
|
Loading…
Reference in a new issue